diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:57:40 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:51 +0100 |
commit | e398029f74d6be188829032f5f4d8a8a9e2fb3f9 (patch) | |
tree | 7685185b92290e8d61462d7e9f3d4ddea134c10b /src/PatchageModule.cpp | |
parent | 6342c9cfa934b356b6903be030ce2667c4e5b829 (diff) | |
download | patchage-e398029f74d6be188829032f5f4d8a8a9e2fb3f9.tar.gz patchage-e398029f74d6be188829032f5f4d8a8a9e2fb3f9.tar.bz2 patchage-e398029f74d6be188829032f5f4d8a8a9e2fb3f9.zip |
Always initialize variables
Diffstat (limited to 'src/PatchageModule.cpp')
-rw-r--r-- | src/PatchageModule.cpp | 2 |
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); } |