From d183ab737a20db7571e39acfcddbe748429b14f1 Mon Sep 17 00:00:00 2001 From: damienrg Date: Mon, 13 Nov 2017 10:18:58 +0100 Subject: [PATCH] Fix mismatched tag warning for MapByIndex (#658) - [ X] Keep your PR rebased to master. - [ X] Keep your PR under 200 lines of code and address a single concern. - [ X] Add unit test(s) and documentation (these do not count toward your 200 lines). - [ X] Adhere to the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html). - [ X] Run `clang-format -style=Google` on your code (this alone is not enough to ensure you've followed the style guide). - [ X] Run `ninja test` or `catkin_make_isolated --install --use-ninja --pkg cartographer --make-args test` as appropriate. --- cartographer/mapping/id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer/mapping/id.h b/cartographer/mapping/id.h index ff0b1f7..df07a06 100644 --- a/cartographer/mapping/id.h +++ b/cartographer/mapping/id.h @@ -102,7 +102,7 @@ class Range { template class MapById { private: - class MapByIndex; + struct MapByIndex; public: struct IdDataReference {