diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-31 20:03:54 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-31 20:03:54 +0200 |
commit | 288f4c294ac1be89b151a3f96eb9d5cb9d91055f (patch) | |
tree | e2b96491c1bf9e7b3a29af517b4639d9bd27fb69 /c/pl.h | |
parent | d9e1caa37e53c7dbc42b1fc652efc23a40c47c42 (diff) | |
download | EpisodeBrowser-288f4c294ac1be89b151a3f96eb9d5cb9d91055f.tar.gz |
Make WsoFromSz and WsoCopy static member functions of wstring_owner.
Diffstat (limited to 'c/pl.h')
-rw-r--r-- | c/pl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ inline int PlGet(term_t t, wstring_owner* x) { Mark m; char* s; if (!PlGet(t, &s)) return 0; - *x = WsoFromSz(s); + *x = wstring_owner::from_narrow(s); return 1; /* or catch potential exception from BstrFromSz? */ } |