summaryrefslogtreecommitdiffstats
path: root/src/Forge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Forge.cpp')
-rw-r--r--src/Forge.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index d74f42ee..ffd87bbc 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -38,17 +38,17 @@ Forge::str(const Raul::Atom& atom)
{
std::ostringstream ss;
if (atom.type() == Int) {
- ss << atom.get_int32();
+ ss << atom.get<int32_t>();
} else if (atom.type() == Float) {
- ss << atom.get_float();
+ ss << atom.get<float>();
} else if (atom.type() == Bool) {
- ss << (atom.get_bool() ? "true" : "false");
+ ss << (atom.get<int32_t>() ? "true" : "false");
} else if (atom.type() == URI) {
- ss << "<" << atom.get_uri() << ">";
+ ss << "<" << atom.get<const char*>() << ">";
} else if (atom.type() == URID) {
- ss << "<" << _map.unmap_uri(atom.get_int32()) << ">";
+ ss << "<" << _map.unmap_uri(atom.get<int32_t>()) << ">";
} else if (atom.type() == String) {
- ss << "\"" << atom.get_string() << "\"";
+ ss << "\"" << atom.get<const char*>() << "\"";
}
return ss.str();
}