]> git.lyx.org Git - lyx.git/blobdiff - src/support/path.h
the freespacing patch from Kayvan, draw the math empty delim with onoffdash, asure...
[lyx.git] / src / support / path.h
index 532e808d4f819a9d95a365d5e910c63a3db48152..122e86fa202c15abf30430466a0bc54b324fe2a0 100644 (file)
@@ -53,4 +53,11 @@ private:
        string pushedDir_;
 };
 
+// To avoid the wrong usage:
+// Path("/tmp");   // wrong
+// Path p("/tmp");  // right
+// we add this macro:
+#define Path(x) unnamed_Path;
+// Tip gotten from Bobby Schmidt's column in C/C++ Users Journal
+
 #endif