diff --git a/src/os/macos/SettingsRepositoryMACOS.hxx b/src/os/macos/SettingsRepositoryMACOS.hxx index 667b4e343..fa57c25f5 100644 --- a/src/os/macos/SettingsRepositoryMACOS.hxx +++ b/src/os/macos/SettingsRepositoryMACOS.hxx @@ -23,9 +23,9 @@ class SettingsRepositoryMACOS : public KeyValueRepository { public: - std::map load() override; + KVRMap load() override; - bool save(const std::map& values) override; + bool save(const KVRMap& values) override; }; #endif // SETTINGS_REPOSITORY_MACOS_HXX diff --git a/src/os/macos/SettingsRepositoryMACOS.mm b/src/os/macos/SettingsRepositoryMACOS.mm index b13df2a98..69ab8ee2a 100644 --- a/src/os/macos/SettingsRepositoryMACOS.mm +++ b/src/os/macos/SettingsRepositoryMACOS.mm @@ -20,9 +20,9 @@ #include "SettingsRepositoryMACOS.hxx" // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -std::map SettingsRepositoryMACOS::load() +KVRMap SettingsRepositoryMACOS::load() { - std::map values; + KVRMap values; @autoreleasepool { NSString* bundleId = [[NSBundle mainBundle] bundleIdentifier]; @@ -40,7 +40,7 @@ std::map SettingsRepositoryMACOS::load() } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -bool SettingsRepositoryMACOS::save(const std::map& values) +bool SettingsRepositoryMACOS::save(const KVRMap& values) { @autoreleasepool { NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];