mirror of
https://github.com/USCiLab/cereal.git
synced 2025-10-18 01:45:52 +02:00
Fixed error with push/pop position, works fine now
This commit is contained in:
10
test.cpp
10
test.cpp
@@ -205,9 +205,15 @@ int main()
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
std::ostringstream os;
|
||||
std::ofstream os("test.txt");
|
||||
cereal::BinaryOutputArchive archive(os);
|
||||
std::cout << "Testing:" << std::endl;
|
||||
//os.write(, 5);
|
||||
|
||||
archive & uint8_t();
|
||||
archive & uint16_t(3);
|
||||
//os.write("\0", 1);
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user