Skip to content

Commit

Permalink
Remove some redundant semicolons (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwojcik committed Nov 29, 2023
1 parent 514d4f5 commit 1aed5fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/hashlib/Hashlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ bool verifyHash( const HashInfo * hinfo, enum HashInfo::endianness endian, bool
__VA_ARGS__; \
register_hash(&$); \
return $; \
}();
}()

#define USE_FAMILY(N) \
extern unsigned CONCAT(N,_ref); \
Expand Down
4 changes: 2 additions & 2 deletions util/Instantiate.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
std::tuple_cat(std::make_tuple(FN<Types>)...); \
return &instances; \
} \
template auto FN ## _instantiator<TYPELIST>();
template auto FN ## _instantiator<TYPELIST>()
#else
// C++11 doesn't, so YOU get a void*, and YOU get a void*,....
#define INSTANTIATE(FN, TYPELIST) \
Expand All @@ -39,7 +39,7 @@
std::make_tuple(((void *)(FN<Types>))...); \
return (void *)(&instances); \
} \
template void * FN ## _instantiator<TYPELIST>();
template void * FN ## _instantiator<TYPELIST>()
#endif

// If you get a compiler error from this macro that looks like:
Expand Down

0 comments on commit 1aed5fe

Please sign in to comment.