소스 검색

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