mirror of
				https://github.com/MaskRay/ccls.git
				synced 2025-11-03 22:04:24 +00:00 
			
		
		
		
	Fix compilation.
This commit is contained in:
		
							parent
							
								
									217d238c78
								
							
						
					
					
						commit
						093dbac30c
					
				@ -90,7 +90,7 @@ struct IndexFuncRef {
 | 
			
		||||
      : loc(loc), is_implicit(is_implicit) {}
 | 
			
		||||
 | 
			
		||||
  std::tuple<IndexFuncId, Range, bool> ToTuple() const {
 | 
			
		||||
    return {id, loc, is_implicit};
 | 
			
		||||
    return std::make_tuple(id, loc, is_implicit);
 | 
			
		||||
  }
 | 
			
		||||
  bool operator==(const IndexFuncRef& o) { return ToTuple() == o.ToTuple(); }
 | 
			
		||||
  bool operator!=(const IndexFuncRef& o) { return !(*this == o); }
 | 
			
		||||
 | 
			
		||||
@ -116,7 +116,7 @@ struct SymbolRef {
 | 
			
		||||
      : idx(idx), role(role), loc(loc) {}
 | 
			
		||||
 | 
			
		||||
  std::tuple<SymbolIdx, SymbolRole, QueryLocation> ToTuple() const {
 | 
			
		||||
    return {idx, role, loc};
 | 
			
		||||
    return std::make_tuple(idx, role, loc);
 | 
			
		||||
  }
 | 
			
		||||
  bool operator==(const SymbolRef& o) const { return ToTuple() == o.ToTuple(); }
 | 
			
		||||
  bool operator!=(const SymbolRef& o) const { return !(*this == o); }
 | 
			
		||||
@ -137,7 +137,7 @@ struct QueryFuncRef {
 | 
			
		||||
      : id_(id), loc(loc), is_implicit(is_implicit) {}
 | 
			
		||||
 | 
			
		||||
  std::tuple<QueryFuncId, QueryLocation, bool> ToTuple() const {
 | 
			
		||||
    return {id_, loc, is_implicit};
 | 
			
		||||
    return std::make_tuple(id_, loc, is_implicit);
 | 
			
		||||
  }
 | 
			
		||||
  bool operator==(const QueryFuncRef& o) const {
 | 
			
		||||
    return ToTuple() == o.ToTuple();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user