summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-04-16 13:23:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-04-16 13:23:11 +0200
commit35e804b984c28131fe13d229c5a0867762c6e8cf (patch)
tree200a8c3029e38fbf0f33318faec05c4f9f8e71c3 /src/settings.h
parentc7577fa4ecf6f9858483c5d8b4a46e7caa2b376d (diff)
Some DrumKitLoader refactoring.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h12
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()