diff --git a/include/cereal/details/traits.hpp b/include/cereal/details/traits.hpp index 25837e89..b587a856 100644 --- a/include/cereal/details/traits.hpp +++ b/include/cereal/details/traits.hpp @@ -615,7 +615,7 @@ namespace cereal //! only allow conversion if the types are the same and we are converting into a const reference template ::value>::type> - operator Dest const & () const; + operator Dest const & (); }; //! A struct that prevents implicit conversion