summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index 0c7da99..e5f6d90 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -150,7 +150,7 @@ void Entry::moveToSubEntryAndKeep(Entry *current)
m_sublist.emplace_back(current);
}
-void Entry::moveToSubEntryAndKeep(std::shared_ptr<Entry> &current)
+void Entry::moveToSubEntryAndKeep(std::shared_ptr<Entry> current)
{
current->m_parent=this;
m_sublist.push_back(current);