Prefs: advance preference access should not be mutable
This commit is contained in:
parent
d191109bb4
commit
6a18a37afe
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class prefs
|
|||
std::string get_chat_timestamp(const std::chrono::system_clock::time_point& t);
|
||||
compression::format save_compression_format();
|
||||
std::vector<std::string>* get_history(const std::string& id);
|
||||
std::vector<preferences::option>& get_advanced_preferences() {return advanced_prefs_;}
|
||||
const std::vector<preferences::option>& get_advanced_preferences() { return advanced_prefs_; }
|
||||
|
||||
// non-trivial getters+setters
|
||||
point resolution();
|
||||
|
|
Loading…
Add table
Reference in a new issue