]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCommandBuffer.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlCommandBuffer.h
index 983b7e40a78da706815d277b612f5d25c2418cb2..0beb3a10e87940e197a1940082d3e1c021cc1301 100644 (file)
 #ifndef CONTROLCOMMANDBUFFER_H
 #define CONTROLCOMMANDBUFFER_H
 
+#include <string>
 #include <vector>
 
 
 class LyXView;
 
+namespace lyx {
+namespace frontend {
+
 /**
  * ControlCommandBuffer
  *
@@ -58,4 +62,7 @@ private:
        std::vector<std::string>::const_iterator history_pos_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // CONTROLCOMMANDBUFFER_H