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