aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-24 18:21:40 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-25 08:35:04 -0700
commit5f3471bf868da59d0fb4410b77b50544cddde963 (patch)
tree28e25c10b09e51c9430bcbe642cad0243184ac53
parent254ba61fd90900dbb3816ba515d21e9d42f11f94 (diff)
downloadsubsurface-5f3471bf868da59d0fb4410b77b50544cddde963.tar.gz
core: make load/sync inline in qPref
Signed-off-by: Jan Iversen <jani@apache.org>
-rw-r--r--core/settings/qPref.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/qPref.h b/core/settings/qPref.h
index 6afd1a87a..251913831 100644
--- a/core/settings/qPref.h
+++ b/core/settings/qPref.h
@@ -22,8 +22,8 @@ public:
// Load/Sync local settings (disk) and struct preference
void loadSync(bool doSync);
- void load() { loadSync(false); }
- void sync() { loadSync(true); }
+ void inline load() { loadSync(false); }
+ void inline sync() { loadSync(true); }
public:
enum cloud_status {