]> git.lyx.org Git - features.git/blobdiff - src/mathed/MacroTable.h
Mark constructors with only one parameter as explicit
[features.git] / src / mathed / MacroTable.h
index eb613cae073c1987b272f62893324dab9fd1ccc3..d31d04b35bb58da48a25d07ee59c64c9046ff7d9 100644 (file)
@@ -39,7 +39,7 @@ enum MacroType {
 class MacroData {
 public:
        /// Constructor to make STL containers happy
-       MacroData(Buffer * buf = 0);
+       explicit MacroData(Buffer * buf = 0);
        /// Create lazy MacroData which only queries the macro template when needed
        MacroData(Buffer * buf, DocIterator const & pos);
        /// Create non-lazy MacroData which directly queries the macro template