Add some attributes
This commit is contained in:
parent
ea15ae4c15
commit
c34a3f4b3c
|
@ -92,7 +92,7 @@ public AutocompleteResponse symbolSearch(const AutocompleteRequest request,
|
|||
{
|
||||
const(DSymbol)* symbol;
|
||||
|
||||
int opCmp(ref const SearchResult other) const pure nothrow
|
||||
int opCmp(ref const SearchResult other) const pure nothrow @nogc @safe
|
||||
{
|
||||
if (other.symbol.symbolFile < symbol.symbolFile)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue