From 075f653fbcc784dd5e0ac85c512bcdee87ad13db Mon Sep 17 00:00:00 2001 From: Andrey Ganzevich Date: Wed, 20 Oct 2021 20:53:20 +0300 Subject: [PATCH] std::to_string() triggers an error on compile (#1539) Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> --- components/logger.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/logger.rst b/components/logger.rst index df361bf18..80d93023c 100644 --- a/components/logger.rst +++ b/components/logger.rst @@ -188,7 +188,7 @@ using ``message`` (``const char *``), ``level`` (``int``) and ``tag`` (``const c - mqtt.publish: topic: some/topic payload: !lambda |- - return "Triggered on_message with level " + std::to_string(level) + ", tag " + tag + " and message " + message; + return "Triggered on_message with level " + to_string(level) + ", tag " + tag + " and message " + message; .. note::