diff --git a/gtsam/slam/dataset.cpp b/gtsam/slam/dataset.cpp index 6c8e43108..71dd64dbb 100644 --- a/gtsam/slam/dataset.cpp +++ b/gtsam/slam/dataset.cpp @@ -177,9 +177,8 @@ boost::optional parseVertexPose(istream &is, const string &tag) { } template <> -GTSAM_EXPORT std::map parseVariables(const std::string &filename, - size_t maxIndex) -{ +GTSAM_EXPORT std::map parseVariables( + const std::string &filename, size_t maxIndex) { return parseToMap(filename, parseVertexPose, maxIndex); } @@ -200,9 +199,8 @@ boost::optional parseVertexLandmark(istream &is, } template <> -GTSAM_EXPORT std::map parseVariables(const std::string &filename, - size_t maxIndex) -{ +GTSAM_EXPORT std::map parseVariables( + const std::string &filename, size_t maxIndex) { return parseToMap(filename, parseVertexLandmark, maxIndex); } @@ -780,9 +778,8 @@ boost::optional> parseVertexPose3(istream &is, } template <> -GTSAM_EXPORT std::map parseVariables(const std::string &filename, - size_t maxIndex) -{ +GTSAM_EXPORT std::map parseVariables( + const std::string &filename, size_t maxIndex) { return parseToMap(filename, parseVertexPose3, maxIndex); } @@ -799,9 +796,8 @@ boost::optional> parseVertexPoint3(istream &is, } template <> -GTSAM_EXPORT std::map parseVariables(const std::string &filename, - size_t maxIndex) -{ +GTSAM_EXPORT std::map parseVariables( + const std::string &filename, size_t maxIndex) { return parseToMap(filename, parseVertexPoint3, maxIndex); }