瀏覽代碼

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