diff options
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,11 +90,11 @@ int Query::NextSolution() } /* Convert Prolog term to wide characters. */ -wchar_ptr PlString(const term_t t, const int flags) +WcharPtr PlString(const term_t t, const int flags) { char* s; if (PL_get_chars(t, &s, flags)) - return {wchar_ptr::from_narrow(s)}; + return {WcharPtr::FromNarrow(s)}; else return {}; } |