]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetNote.cpp
disable some tests for standard C++ features; add a line counting stream for lates...
[features.git] / src / insets / InsetNote.cpp
index d698f692189348a5ee17ab92f645f6514a392317..1406d0c6873d26340279730d7e140fd0fb230d00 100644 (file)
@@ -28,9 +28,9 @@
 #include "MetricsInfo.h"
 #include "OutputParams.h"
 
-#include "support/lyxalgo.h"
 #include "support/Translator.h"
 
+#include <algorithm>
 #include <sstream>
 
 
@@ -323,7 +323,7 @@ int InsetNote::latex(Buffer const & buf, odocstream & os,
        os << str;
        runparams_in.encoding = runparams.encoding;
        // Return how many newlines we issued.
-       return int(lyx::count(str.begin(), str.end(), '\n'));
+       return int(std::count(str.begin(), str.end(), '\n'));
 }