diff --git a/repertory/librepertory/include/app_config.hpp b/repertory/librepertory/include/app_config.hpp index 19442a74..56d73790 100644 --- a/repertory/librepertory/include/app_config.hpp +++ b/repertory/librepertory/include/app_config.hpp @@ -55,8 +55,15 @@ public: public: app_config(const provider_type &prov, std::string_view data_directory = ""); + app_config() = delete; + app_config(app_config &&) = delete; + app_config(const app_config &) = delete; + ~app_config() { save(); } + auto operator=(const app_config &) -> app_config & = delete; + auto operator=(app_config &&) -> app_config & = delete; + private: provider_type prov_; atomic api_auth_;