summaryrefslogtreecommitdiffhomepage
path: root/variant/default
diff options
context:
space:
mode:
Diffstat (limited to 'variant/default')
-rw-r--r--variant/default/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 4f2467c2..ad18babf 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -148,7 +148,7 @@ main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH)
for (list& type : types)
{
- list& t = type;
+ list t = type;
tie_setting(t.place, t.input,
[t](const QString& name) {
auto [ptr, idx] = module_by_name(name, t.libs);