summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat')
-rw-r--r--opentrack-compat/options.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp
index 9b03c18f..3e4fb20e 100644
--- a/opentrack-compat/options.hpp
+++ b/opentrack-compat/options.hpp
@@ -382,7 +382,7 @@ namespace options {
value(pbundle b, const QString& name, t def) : value(b, string_from_qstring(name), def) {}
value(pbundle b, const char* name, t def) : value(b, string(name), def) {}
- operator t()
+ operator t() const
{
return b->contains(self_name) ? b->get<t>(self_name) : def;
}