Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/cereal/archives/binary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ namespace cereal
//! Construct, outputting to the provided stream
/*! @param stream The stream to output to. Can be a stringstream, a file stream, or
even cout! */
BinaryOutputArchive(std::ostream & stream) :
BinaryOutputArchive(std::ostream & stream) CEREAL_NOEXCEPT :
OutputArchive<BinaryOutputArchive, AllowEmptyClassElision>(this),
itsStream(stream)
{ }
Expand Down Expand Up @@ -89,7 +89,7 @@ namespace cereal
{
public:
//! Construct, loading from the provided stream
BinaryInputArchive(std::istream & stream) :
BinaryInputArchive(std::istream & stream) CEREAL_NOEXCEPT :
InputArchive<BinaryInputArchive, AllowEmptyClassElision>(this),
itsStream(stream)
{ }
Expand Down
4 changes: 2 additions & 2 deletions include/cereal/cereal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ namespace cereal
public:
//! Construct the output archive
/*! @param derived A pointer to the derived ArchiveType (pass this from the derived archive) */
OutputArchive(ArchiveType * const derived) : self(derived), itsCurrentPointerId(1), itsCurrentPolymorphicTypeId(1)
OutputArchive(ArchiveType * const derived) CEREAL_NOEXCEPT : self(derived), itsCurrentPointerId(1), itsCurrentPolymorphicTypeId(1)
{ }

OutputArchive & operator=( OutputArchive const & ) = delete;
Expand Down Expand Up @@ -712,7 +712,7 @@ namespace cereal
public:
//! Construct the output archive
/*! @param derived A pointer to the derived ArchiveType (pass this from the derived archive) */
InputArchive(ArchiveType * const derived) :
InputArchive(ArchiveType * const derived) CEREAL_NOEXCEPT :
self(derived),
itsBaseClassSet(),
itsSharedPointerMap(),
Expand Down