]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlShowFile.h
fix crash due to invalidated iterator
[lyx.git] / src / frontends / controllers / ControlShowFile.h
index 6f2f6483445cb77a052a4bd52311204b3ba4c53f..b02b08fa42f03d09334ea19e2f9d735b2b9bb03c 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "Dialog.h"
 
+namespace lyx {
+namespace frontend {
+
 /** A controller for the ShowFile dialog. */
 
 class ControlShowFile : public Dialog::Controller {
@@ -38,4 +41,7 @@ private:
        std::string filename_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // CONTROLSHOWFILE_H