[LyX/master] Fix "no extern declaration" warning.

Richard Kimberly Heck rikiheck at lyx.org
Sun Feb 23 20:34:03 UTC 2020


commit 608b927daf9c924702c2ad701846317164765829
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Tue Feb 18 19:22:54 2020 -0500

    Fix "no extern declaration" warning.
---
 src/Buffer.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 0dcd81a..d0ca105 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -153,11 +153,11 @@ typedef vector<LabelInfo> LabelCache;
 
 typedef map<docstring, Buffer::References> RefCache;
 
-} // namespace
+// A storehouse for the cloned buffers.
+std::list<CloneList *> cloned_buffers;
 
+} // namespace
 
-// A storehouse for the cloned buffers.
-list<CloneList *> cloned_buffers;
 
 
 class Buffer::Impl


More information about the lyx-cvs mailing list