Merge pull request #450 from dlang-community/attributes

Add some attributes
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
The Dlang Bot 2018-03-22 02:03:23 +01:00 committed by GitHub
commit 92a85bc7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 5b90412457ac5f1d67c04e4da01587edfd529ad5
Subproject commit 239b137b280c06864b73fcc1d00b75e06568d4c2

View File

@ -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;