summaryrefslogtreecommitdiffhomepage
path: root/migration
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:21:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:41:23 +0100
commit33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch)
tree7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /migration
parent29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff)
static constexpr -> constexpr
Diffstat (limited to 'migration')
-rw-r--r--migration/20160917_00-accela.cpp2
-rw-r--r--migration/20171020_00-max-pitch-output.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/migration/20160917_00-accela.cpp b/migration/20160917_00-accela.cpp
index aa14484a..c5c6f579 100644
--- a/migration/20160917_00-accela.cpp
+++ b/migration/20160917_00-accela.cpp
@@ -29,7 +29,7 @@ struct move_accela_to_sliders : migration
static constexpr const char* new_bundle_name = "accela-sliders";
static constexpr const char* slider_name = "rotation-nonlinearity";
- using map_ = struct { map s[8]; };
+ struct map_ { map s[8]; };
static map_ make_settings(settings_accela& s)
{
diff --git a/migration/20171020_00-max-pitch-output.cpp b/migration/20171020_00-max-pitch-output.cpp
index f084f7fb..0699ac48 100644
--- a/migration/20171020_00-max-pitch-output.cpp
+++ b/migration/20171020_00-max-pitch-output.cpp
@@ -33,7 +33,7 @@ struct max_pitch_output : migration
bool should_run() const override
{
{
- static constexpr char const* name = "pitch-max-output-value";
+ constexpr char const* name = "pitch-max-output-value";
bundle b = make_bundle("opentrack-mappings");