summaryrefslogtreecommitdiffstats
path: root/engine/labelled.cpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-23 23:46:30 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-23 23:46:30 +0100
commite41dcda98ca49f1c21f89c5a8ad8ce4a95c40641 (patch)
tree5b95562eb53ceed8f2e4ebc101cfda2361f116ea /engine/labelled.cpp
parentMerge remote-tracking branch 'nao/master' (diff)
downloadflatland-e41dcda98ca49f1c21f89c5a8ad8ce4a95c40641.tar.gz
flatland-e41dcda98ca49f1c21f89c5a8ad8ce4a95c40641.zip
Fixes on signals
Diffstat (limited to 'engine/labelled.cpp')
-rw-r--r--engine/labelled.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/labelled.cpp b/engine/labelled.cpp
index 023023e..48e6091 100644
--- a/engine/labelled.cpp
+++ b/engine/labelled.cpp
@@ -6,7 +6,7 @@ using namespace std;
using namespace flat::core;
labelled::labelled(const std::string& label, bool allow_null)
- : label((!allow_null && label.empty()) ? object::random_label() : label) {}
+ : label((!allow_null && label.empty()) ? random_label() : label) {}
string labelled::random_label(uint8_t length) {