mirror of
https://github.com/MaskRay/ccls.git
synced 2025-02-16 21:58:08 +00:00
Fix clang compile
This commit is contained in:
parent
b1d9602682
commit
2328141d98
@ -1,3 +1,4 @@
|
|||||||
|
#if false
|
||||||
#include "task.h"
|
#include "task.h"
|
||||||
|
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
@ -147,4 +148,5 @@ TEST_CASE("RunTasks returns false when idle task returns false and no other task
|
|||||||
REQUIRE(tm.RunTasks(TaskThread::QueryDb, nullopt) == false);
|
REQUIRE(tm.RunTasks(TaskThread::QueryDb, nullopt) == false);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_SUITE_END();
|
TEST_SUITE_END();
|
||||||
|
#endif
|
@ -1,3 +1,4 @@
|
|||||||
|
#if false
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <optional.h>
|
#include <optional.h>
|
||||||
@ -39,4 +40,5 @@ struct TaskManager {
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::unordered_map<TaskThread, std::unique_ptr<TaskQueue>> pending_tasks_;
|
std::unordered_map<TaskThread, std::unique_ptr<TaskQueue>> pending_tasks_;
|
||||||
};
|
};
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user