aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.cpp')
-rw-r--r--c/pl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/pl.cpp b/c/pl.cpp
index 1dc22fb..8b3fcbe 100644
--- a/c/pl.cpp
+++ b/c/pl.cpp
@@ -90,11 +90,11 @@ int Query::NextSolution()
}
/* Convert Prolog term to wide characters. */
-wstring_owner PlString(const term_t t, const int flags)
+wchar_ptr PlString(const term_t t, const int flags)
{
char* s;
if (PL_get_chars(t, &s, flags))
- return {wstring_owner::from_narrow(s)};
+ return {wchar_ptr::from_narrow(s)};
else
return {};
}