]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListingsParams.cpp
Cosmetics.
[lyx.git] / src / insets / InsetListingsParams.cpp
index ebe6b27c2c7b5751239f9c536f11eb36b609a554..7761d9a6c4a30b8967e1eac2a70a40f4ba52649c 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 #include <config.h>
+#include <algorithm>
 
 #include "InsetListingsParams.h"
 
@@ -180,7 +181,7 @@ docstring ListingsParam::validate(string const & par) const
                        lists.push_back(v);
 
                // good, find the string
-               if (std::find(lists.begin(), lists.end(), par2) != lists.end()) {
+               if (find(lists.begin(), lists.end(), par2) != lists.end()) {
                        if (unclosed)
                                return _("Unbalanced braces!");
                        return docstring();