diff --git a/binary_archive/array.hpp b/binary_archive/array.hpp index 25b0b481..11d18847 100644 --- a/binary_archive/array.hpp +++ b/binary_archive/array.hpp @@ -22,7 +22,7 @@ namespace cereal ar.load_binary( array.data(), N * sizeof(T) ); } - //! Saving for const std::array all other types to binary + //! Saving for std::array all other types to binary template typename std::enable_if::value, void>::type save( BinaryOutputArchive & ar, std::array const & array ) diff --git a/binary_archive/deque.hpp b/binary_archive/deque.hpp index 34ab1d52..283193b9 100644 --- a/binary_archive/deque.hpp +++ b/binary_archive/deque.hpp @@ -16,16 +16,6 @@ namespace cereal ar & i; } - //! Loading for std::deque all other types from binary (non-const version) - template - void save( BinaryOutputArchive & ar, std::deque & deque ) - { - ar & deque.size(); - - for( auto & i : deque ) - ar & i; - } - //! Loading for std::deque all other types to binary template void load( BinaryInputArchive & ar, std::deque & deque ) diff --git a/test.cpp b/test.cpp index 79c32feb..b2b45755 100644 --- a/test.cpp +++ b/test.cpp @@ -205,15 +205,5 @@ int main() std::cout << std::endl; } - std::ofstream os("test.txt"); - cereal::BinaryOutputArchive archive(os); - std::cout << "Testing:" << std::endl; - - archive & uint8_t(); - archive & uint16_t(3); - //os.write("\0", 1); - - - return 0; }