mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 05:28:43 -04:00
Implicit conversion operator is probably a good idea tbh.
This commit is contained in:
@@ -211,6 +211,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
operator const T&() {
|
||||
return getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Give a CVar an override value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user