Преглед изворни кода

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")
     )
   );