Ticket #8037: serialization.diff

File serialization.diff, 855 bytes (added by Franz Detro <franz.detro@…>, 10 years ago)
  • boost/serialization/smart_cast.hpp

    From a428411c1b1ae37b3ac8c415594e1722c2eedb03 Mon Sep 17 00:00:00 2001
    From: Franz Detro <franz.detro@native-instruments.de>
    Date: Mon, 11 Feb 2013 12:34:53 +0100
    Subject: [PATCH] fix warnings in boost serialization
    
    ---
     boost/serialization/smart_cast.hpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/boost/serialization/smart_cast.hpp b/boost/serialization/smart_cast.hpp
    index 977e8ed..db69159 100644
    a b namespace smart_cast_impl {  
    251251        // cast on a system which doesn't support partial template
    252252        // specialization
    253253        template<class U>
    254         static T cast(U u){
     254        static T cast(U){
    255255            BOOST_STATIC_ASSERT(sizeof(T)==0);
    256256            return * static_cast<T *>(NULL);
    257257        }