fix getAnyConfigValue note to reference value counterpart instead of ptr

This commit is contained in:
Undeadamien 2026-04-22 10:33:57 +02:00
parent 1e274f9784
commit 4233e88d1c

View file

@ -428,7 +428,7 @@ namespace Hyprlang {
- `name` -> `general:gaps_out`
- `category[key]:name` -> `windowrule[name]:enable`
\note Prefer `getConfigValuePtr` or `getSpecialConfigValuePtr` to avoid unnecessary lookup and parsing.
\note Prefer `getConfigValue` or `getSpecialConfigValue` to avoid unnecessary lookup and parsing.
*/
std::any getAnyConfigValue(const char* name) {
CConfigValue* val = getAnyConfigValuePtr(name);