diff --git a/tesseract_environment/src/command.cpp b/tesseract_environment/src/command.cpp index 6509001aeeb..d6a8cdc795c 100644 --- a/tesseract_environment/src/command.cpp +++ b/tesseract_environment/src/command.cpp @@ -40,14 +40,14 @@ template void save(Archive& ar, const CommandType& g, const unsigned int /*version*/) { int value = static_cast(g); - ar &= BOOST_SERIALIZATION_NVP(value); + ar& BOOST_SERIALIZATION_NVP(value); } template void load(Archive& ar, CommandType& g, const unsigned int /*version*/) { int value = 0; - ar &= BOOST_SERIALIZATION_NVP(value); + ar& BOOST_SERIALIZATION_NVP(value); g = static_cast(value); }