diff options
Diffstat (limited to 'src/ClashAvoider.cpp')
-rw-r--r-- | src/ClashAvoider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClashAvoider.cpp b/src/ClashAvoider.cpp index 9cafa06a..54ca7eb8 100644 --- a/src/ClashAvoider.cpp +++ b/src/ClashAvoider.cpp @@ -104,7 +104,8 @@ ClashAvoider::map_path(const Raul::Path& in) name = "_"; Raul::Symbol sym(name); string str = ss.str(); - InsertRecord i = _symbol_map.insert(make_pair(in, str)); + InsertRecord i = _symbol_map.insert( + make_pair(in, Raul::Path(str))); offset = _store.child_name_offset(in.parent(), sym, false); _offsets.insert(make_pair(base_path, offset)); return i.first->second; |