-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/sparsehash/internal/hashtable-common.h b/src/sparsehash/internal/hashtable-common.h | ||
index bac2b88..1224e0a 100644 | ||
--- a/src/sparsehash/internal/hashtable-common.h | ||
+++ b/src/sparsehash/internal/hashtable-common.h | ||
@@ -51,7 +51,7 @@ _START_GOOGLE_NAMESPACE_ | ||
|
||
template <bool> struct SparsehashCompileAssert { }; | ||
#define SPARSEHASH_COMPILE_ASSERT(expr, msg) \ | ||
- __attribute__((unused)) typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] | ||
+ typedef SparsehashCompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] | ||
|
||
namespace sparsehash_internal { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters