Skip to content
Snippets Groups Projects
Commit 8f062554 authored by Adam Moss's avatar Adam Moss
Browse files

a stab at fixing this test.

parent b37a5d65
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ namespace tut ...@@ -50,7 +50,7 @@ namespace tut
std::string url = ""; std::string url = "";
boost::wcmatch result; boost::wcmatch result;
LLWString wtext = utf8str_to_wstring(text); LLWString wtext = utf8str_to_wstring(text);
const wchar_t *wctext = wtext.c_str(); const wchar_t *wctext = (const wchar_t *)(wtext.c_str());
bool found = boost::regex_search(wctext, result, regex); bool found = boost::regex_search(wctext, result, regex);
if (found) if (found)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment