Made explicit instantiations in header file inline to avoid duplicate definition

release/4.3a0
Richard Roberts 2012-08-22 22:40:39 +00:00
parent cbbf62aeeb
commit 519ad72139
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ bool isRotFirst() {
}
// Instantiate for common poses
template<> bool isRotFirst<Pose3>() { return true; }
template<> bool isRotFirst<Pose2>() { return false; }
template<> inline bool isRotFirst<Pose3>() { return true; }
template<> inline bool isRotFirst<Pose2>() { return false; }
} // \namespace pose_traits