Skip to content

Commit

Permalink
wrap entire header in ignore pragma
Browse files Browse the repository at this point in the history
this would be preferable to spreading -Wno-deprecated-declarations
 to all targets using velox_typ
  • Loading branch information
assignUser committed Dec 6, 2023
1 parent b275615 commit 8f18485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/type/Type.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include <folly/json.h>
#pragma GCC diagnostic pop
#include <cstdint>
#include <cstring>
#include <ctime>
Expand Down Expand Up @@ -2423,3 +2422,4 @@ struct fmt::formatter<
return format_to(ctx.out(), "{}", k->toString());
}
};
#pragma GCC diagnostic pop

0 comments on commit 8f18485

Please sign in to comment.