diff options
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r-- | src/Forge.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp index fbebbeb5..f54a3cc4 100644 --- a/src/Forge.cpp +++ b/src/Forge.cpp @@ -48,7 +48,7 @@ Forge::str(const Atom& atom, bool quoted) ss << (atom.get<int32_t>() ? "true" : "false"); } else if (atom.type() == URI) { ss << (quoted ? "<" : "") - << atom.ptr<const char>() + << atom.ptr<char>() << (quoted ? ">" : ""); } else if (atom.type() == URID) { ss << (quoted ? "<" : "") @@ -56,11 +56,11 @@ Forge::str(const Atom& atom, bool quoted) << (quoted ? ">" : ""); } else if (atom.type() == Path) { ss << (quoted ? "<" : "") - << atom.ptr<const char>() + << atom.ptr<char>() << (quoted ? ">" : ""); } else if (atom.type() == String) { ss << (quoted ? "\"" : "") - << atom.ptr<const char>() + << atom.ptr<char>() << (quoted ? "\"" : ""); } return ss.str(); |