summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r--src/PatchageModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PatchageModule.cpp b/src/PatchageModule.cpp
index 8c68625..d955900 100644
--- a/src/PatchageModule.cpp
+++ b/src/PatchageModule.cpp
@@ -117,7 +117,7 @@ PatchageModule::load_location()
void
PatchageModule::store_location(double x, double y)
{
- Coord loc(get_x(), get_y());
+ const Coord loc{get_x(), get_y()};
_app->conf()->set_module_location(_name, _type, loc);
}