X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=src%2Fio%2Frecord.h;h=0a1368117fc681099fe74b6cf8dca60a45da926d;hb=d450e7f4282772a0d9ce478bdf8d8a9e1cfcd813;hp=88576651ea574c25c2c7f2ebf83ad44e8ec6d5f1;hpb=1aee468deafb447ebda1b6034c5233f13a5058c5;p=cassiopeia.git diff --git a/src/io/record.h b/src/io/record.h index 8857665..0a13681 100644 --- a/src/io/record.h +++ b/src/io/record.h @@ -59,10 +59,10 @@ public: template static void read( std::string::const_iterator& it, T& val ) { union typeConversion { - char buf[sizeof(T)]; + char buf[sizeof( T )]; T value; - typeConversion(const T& v) : value(v) {} + typeConversion( const T& v ) : value( v ) {} }; typeConversion data( 0 );