Update index.rst (#3103)
The code parameter is an optional. Without "std::string("1234")" compilation fails.
This commit is contained in:
parent
50fd45f073
commit
a9143309d4
|
@ -183,7 +183,7 @@ From :ref:`lambdas <config-lambda>`, you can call the following methods:
|
|||
|
||||
id(acp1).arm_away();
|
||||
id(acp1).arm_home();
|
||||
id(acp1).disarm("1234");
|
||||
id(acp1).disarm(std::string("1234"));
|
||||
|
||||
|
||||
Platforms
|
||||
|
|
Loading…
Reference in New Issue