diff --git a/gtsam_unstable/slam/PoseTranslationPrior.h b/gtsam_unstable/slam/PoseTranslationPrior.h index ba023c0e3..9fc2bb423 100644 --- a/gtsam_unstable/slam/PoseTranslationPrior.h +++ b/gtsam_unstable/slam/PoseTranslationPrior.h @@ -25,8 +25,8 @@ bool isRotFirst() { } // Instantiate for common poses -template<> bool isRotFirst() { return true; } -template<> bool isRotFirst() { return false; } +template<> inline bool isRotFirst() { return true; } +template<> inline bool isRotFirst() { return false; } } // \namespace pose_traits