]> git.lyx.org Git - lyx.git/blobdiff - src/support/mutex.h
Expose python 3 support to some testing
[lyx.git] / src / support / mutex.h
index ed3954f03f5a0bce02737a11308ba74fb9192e75..5f34f7de514f3161d27ba3d6682b114e54a07a20 100644 (file)
@@ -21,6 +21,9 @@ namespace lyx {
 
 class Mutex
 {
+       /// noncopyable
+       Mutex(const Mutex&);
+       Mutex& operator=(const Mutex&);
 public:
        Mutex();
        ~Mutex();
@@ -45,12 +48,6 @@ public:
                Locker& operator=(const Locker& rhs);
                Mutex* mutex_;
        };
-       
-
-       // pseude-value semantic
-       // needed by GuiPrefs which makes a copy
-       Mutex(const Mutex&);
-       Mutex& operator=(const Mutex&);
 
 private:
        struct Private;