Skip to content

Commit

Permalink
merging_iterator.cc: ignore forceinline fail
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Jun 12, 2022
1 parent 7314205 commit 6bb244c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion table/merging_iterator.cc
Expand Up @@ -31,7 +31,7 @@ namespace ROCKSDB_NAMESPACE {
#define FORCE_INLINE __forceinline
#elif defined(__GNUC__)
#define FORCE_INLINE __attribute__((always_inline))
#pragma GCC diagnostic ignored "-Wattribute"
#pragma GCC diagnostic ignored "-Wattributes"
#else
#define inline
#endif
Expand Down Expand Up @@ -67,6 +67,7 @@ struct MaxInlineBytewiseComp {
}
MaxInlineBytewiseComp(const InternalKeyComparator*) {}
};

struct MinInlineBytewiseComp {
FORCE_INLINE
bool operator()(const IteratorWrapper* a,
Expand Down

0 comments on commit 6bb244c

Please sign in to comment.