mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
Fix linker error on clang (issue #2)
This commit is contained in:
parent
053aa549f0
commit
7328d138e3
@ -257,6 +257,8 @@ std::string GetDocumentContentInRange(CXTranslationUnit cx_tu, CXSourceRange ran
|
||||
|
||||
|
||||
|
||||
// static
|
||||
int IndexFile::kCurrentVersion = 4;
|
||||
|
||||
IndexFile::IndexFile(const std::string& path) : id_cache(path), path(path) {
|
||||
// TODO: Reconsider if we should still be reusing the same id_cache.
|
||||
|
@ -455,7 +455,7 @@ MAKE_REFLECT_STRUCT(IndexInclude, line, resolved_path);
|
||||
struct IndexFile {
|
||||
IdCache id_cache;
|
||||
|
||||
static constexpr int kCurrentVersion = 4;
|
||||
static int kCurrentVersion;
|
||||
int version = 0;
|
||||
|
||||
std::string path;
|
||||
|
Loading…
Reference in New Issue
Block a user