summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/guides/pipeline-handler.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/guides/pipeline-handler.rst b/Documentation/guides/pipeline-handler.rst
index 746e2066..71ef2050 100644
--- a/Documentation/guides/pipeline-handler.rst
+++ b/Documentation/guides/pipeline-handler.rst
@@ -1289,7 +1289,7 @@ range definitions and their corresponding values on the device before being set.
}
int32_t value = lroundf(it.second.get<float>() * 128 + offset);
- controls.set(cid, utils::clamp(value, 0, 255));
+ controls.set(cid, std::clamp(value, 0, 255));
}
for (const auto &ctrl : controls)