diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-04-16 13:23:11 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-04-16 13:23:11 +0200 |
commit | 35e804b984c28131fe13d229c5a0867762c6e8cf (patch) | |
tree | 200a8c3029e38fbf0f33318faec05c4f9f8e71c3 /src/settings.h | |
parent | c7577fa4ecf6f9858483c5d8b4a46e7caa2b376d (diff) |
Some DrumKitLoader refactoring.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settings.h b/src/settings.h index c79e4e5..6b4e882 100644 --- a/src/settings.h +++ b/src/settings.h @@ -61,8 +61,8 @@ struct Settings Atomic<bool> enable_resampling{true}; - Atomic<int> number_of_files; - Atomic<int> number_of_files_loaded; + Atomic<std::size_t> number_of_files; + Atomic<std::size_t> number_of_files_loaded; Atomic<std::string> current_file; }; @@ -86,8 +86,8 @@ struct SettingsGetter SettingRef<bool> enable_resampling; - SettingRef<int> number_of_files; - SettingRef<int> number_of_files_loaded; + SettingRef<std::size_t> number_of_files; + SettingRef<std::size_t> number_of_files_loaded; SettingRef<std::string> current_file; SettingsGetter(Settings& settings) @@ -130,8 +130,8 @@ public: Notifier<bool> enable_resampling; - Notifier<int> number_of_files; - Notifier<int> number_of_files_loaded; + Notifier<std::size_t> number_of_files; + Notifier<std::size_t> number_of_files_loaded; Notifier<std::string> current_file; void evaluate() |