From a4562bee716a37e51a58906d6f701e272f722ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6fferlein?= Date: Fri, 7 Sep 2018 22:39:12 +0200 Subject: [PATCH] Also fixed issue with hash value of LayerProperties --- src/db/db/dbHash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/db/dbHash.h b/src/db/db/dbHash.h index 3ac851a96..10571e667 100644 --- a/src/db/db/dbHash.h +++ b/src/db/db/dbHash.h @@ -344,11 +344,11 @@ namespace std size_t operator() (const db::LayerProperties &o) const { if (o.is_named ()) { - return hfunc (o.name.c_str ()); + return hfunc (o.name); } else { size_t h = hfunc (o.layer); h = hfunc (o.datatype, h); - h = hfunc (o.name.c_str (), h); + h = hfunc (o.name, h); return h; } }