Преглед на файлове

using numeric index for bool value to troubleshoot

logicp преди 4 години
родител
ревизия
459447297f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/client.cpp

+ 1 - 1
src/client.cpp

@@ -77,7 +77,7 @@ flatbuffers::Offset<GenericTask> createGenericTask(
     std::get<int>(
       task->getTaskArgumentValue("recurring")
     ),
-    std::get<bool>(
+    std::get<0>(
       task->getTaskArgumentValue("notify")
     )
   );