change string in enable_failsafe to be same type of string as in failsafe message request

This commit is contained in:
Sem van der Hoeven
2023-05-29 10:48:05 +02:00
parent d5ce727c3d
commit 437ea4f536

View File

@@ -148,7 +148,7 @@ public:
* *
* @param message the message indicating the cause of the failsafe * @param message the message indicating the cause of the failsafe
*/ */
void enable_failsafe(std::string message) void enable_failsafe(std::__cxx11::basic_string<char16_t> message)
{ {
this->failsafe_enabled = true; this->failsafe_enabled = true;
this->failsafe_request->message = message; this->failsafe_request->message = message;