From 14026397e92d8f4f310da7418458c01731382f0b Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sat, 4 Apr 2026 23:00:33 +0200 Subject: [PATCH] Implicit conversion operator is probably a good idea tbh. --- include/dusk/config_var.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dusk/config_var.hpp b/include/dusk/config_var.hpp index bb1710662c..064d37028d 100644 --- a/include/dusk/config_var.hpp +++ b/include/dusk/config_var.hpp @@ -211,6 +211,10 @@ public: } } + operator const T&() { + return getValue(); + } + /** * \brief Give a CVar an override value. *