summaryrefslogtreecommitdiffstats
path: root/src/RDFWorld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RDFWorld.cpp')
-rw-r--r--src/RDFWorld.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/RDFWorld.cpp b/src/RDFWorld.cpp
index d68919d..71a231c 100644
--- a/src/RDFWorld.cpp
+++ b/src/RDFWorld.cpp
@@ -87,7 +87,9 @@ World::blank_id()
{
std::ostringstream ss;
ss << "n" << _next_blank_id++;
- return Node(*this, Node::BLANK, ss.str());
+ Node result = Node(*this, Node::BLANK, ss.str());
+ assert(result.to_string() == ss.str());
+ return result;
}