std::to_string() triggers an error on compile (#1539)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Andrey Ganzevich 2021-10-20 20:53:20 +03:00 committed by GitHub
parent 5a3c0cbfec
commit 075f653fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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::