]> rtime.felk.cvut.cz Git - boost-statechart-viewer.git/blobdiff - src/visualizer.cpp
Fix problem when trying another version of Clang.
[boost-statechart-viewer.git] / src / visualizer.cpp
index e404089ef14baea0f770b1995b7453c50cc0ebe9..102e356775167af0fa002c3656a2f2e2d47f59b5 100644 (file)
@@ -487,7 +487,7 @@ public:
                  state->setInitialInnerState(InnerInitialState->getName());
            }
            else if (!InnerInitialState->getNameAsString().compare("boost::mpl::list<>"))
-             Diag(Loc.getTypeSourceInfo()->getTypeLoc().getLocStart(), diag_warning)
+             Diag(Loc.getTypeSourceInfo()->getTypeLoc().getBeginLoc(), diag_warning)
                    << InnerInitialState->getName() << " as inner initial state is not supported" << Loc.getSourceRange();
        }