mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +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) {
 | 
					IndexFile::IndexFile(const std::string& path) : id_cache(path), path(path) {
 | 
				
			||||||
  // TODO: Reconsider if we should still be reusing the same id_cache.
 | 
					  // 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 {
 | 
					struct IndexFile {
 | 
				
			||||||
  IdCache id_cache;
 | 
					  IdCache id_cache;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  static constexpr int kCurrentVersion = 4;
 | 
					  static int kCurrentVersion;
 | 
				
			||||||
  int version = 0;
 | 
					  int version = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  std::string path;
 | 
					  std::string path;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user