mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
Fixed small bug with xml output for unique_ptr, uint8_t was being serialized as a character, now serialized as a number
This commit is contained in:
@@ -351,6 +351,12 @@ int main()
|
||||
int xxx[] = {-1, 95, 3};
|
||||
oar.saveBinaryValue( xxx, sizeof(int)*3, "xxxbinary" );
|
||||
//oar.saveBinaryValue( xxx, sizeof(int)*3 );
|
||||
|
||||
std::unique_ptr<Derived> d1( new Derived() );
|
||||
std::unique_ptr<Base> d2( new Derived() );
|
||||
oar( d1 );
|
||||
oar( d2 );
|
||||
oar( d2 );
|
||||
}
|
||||
|
||||
if(false)
|
||||
|
||||
Reference in New Issue
Block a user