]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDelim.cpp
Fix build with GNU libstdc++ C++11 ABI
[lyx.git] / src / mathed / InsetMathDelim.cpp
index 0653e88b8c4f8e05631a83b30b8f1f2acab120a5..fb4f8f4d87c4a756f96e3d913ffac765b3338d11 100644 (file)
@@ -71,16 +71,16 @@ void InsetMathDelim::validate(LaTeXFeatures & features) const
        MathWordList::const_iterator it = words.find(left_);
        if (it != words.end())
        {
-               docstring const req = it->second.requires;
+               string const req = it->second.requires;
                if (!req.empty())
-                       features.require(to_ascii(req));
+                       features.require(req);
        }
        it = words.find(right_);
        if (it != words.end())
        {
-               docstring const req = it->second.requires;
+               string const req = it->second.requires;
                if (!req.empty())
-                       features.require(to_ascii(req));
+                       features.require(req);
        }
 }