must-use-result.patch 382 B

1234567891011
  1. --- a/src/google/protobuf/stubs/common.h
  2. +++ b/src/google/protobuf/stubs/common.h
  3. @@ -45,6 +45,8 @@
  4. #include "google/protobuf/stubs/platform_macros.h"
  5. #include "google/protobuf/stubs/port.h"
  6. +#define Y_PROTOBUF_SUPPRESS_NODISCARD [[maybe_unused]] bool Y_GENERATE_UNIQUE_ID(pb_checker)=
  7. +
  8. #if defined(__APPLE__)
  9. #include <TargetConditionals.h> // for TARGET_OS_IPHONE
  10. #endif