summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-compat')
-rw-r--r--opentrack-compat/options.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp
index 98d0dc83..bd01c1a7 100644
--- a/opentrack-compat/options.hpp
+++ b/opentrack-compat/options.hpp
@@ -156,7 +156,7 @@ namespace options {
pbundle bundle(const QString& name);
- class OPENTRACK_COMPAT_EXPORT opt_bundle : public impl_bundle
+ class OPENTRACK_COMPAT_EXPORT opt_bundle final : public impl_bundle
{
public:
opt_bundle() : impl_bundle("i-have-no-name") {}
@@ -290,7 +290,7 @@ namespace options {
void operator()(int idx)
{
- if (idx < 0u || idx >= (int)enum_cases.size())
+ if (idx < 0 || idx >= (int)enum_cases.size())
v = static_cast<t>(-1);
else
v = static_cast<t>(enum_cases[idx]);