summaryrefslogtreecommitdiffstats
path: root/src/Store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Store.cpp')
-rw-r--r--src/Store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Store.cpp b/src/Store.cpp
index 363ffb41..d85d5932 100644
--- a/src/Store.cpp
+++ b/src/Store.cpp
@@ -110,7 +110,7 @@ Store::rename(const iterator top, const raul::Path& new_path)
// Rename all the removed objects
for (const auto& r : removed) {
- const raul::Path path = (r.first == old_path)
+ const auto path = (r.first == old_path)
? new_path
: new_path.child(
raul::Path(r.first.substr(old_path.base().length() - 1)));