Dummy theApp() method should return a pointer.

This commit is contained in:
Richard Heck 2017-12-23 14:40:00 -05:00
parent 7b4d227929
commit 56071d2fb0
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ struct App {
};
App app;
App theApp() { return app; }
App * theApp() { return &app; }
// Dummy LyXRC support
struct LyXRC {

View File

@ -67,6 +67,6 @@ namespace lyx {
};
App app;
App theApp() { return app; }
App * theApp() { return &app; }
} // namespace lyx

View File

@ -55,7 +55,7 @@ struct App {
};
App app;
App theApp() { return app; }
App * theApp() { return &app; }
string const trimSpaceAndEol(string const & a)