From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- migration/20160917_00-accela.cpp | 2 +- migration/20171020_00-max-pitch-output.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'migration') 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"); -- cgit v1.2.3