Index: fuzz/Fuzz.h |
diff --git a/fuzz/Fuzz.h b/fuzz/Fuzz.h |
index c9c21567a557238782c52955397b0cf4de974bed..43918f4a94cf68fc4442e3d5a00f90f0ce6695c1 100644 |
--- a/fuzz/Fuzz.h |
+++ b/fuzz/Fuzz.h |
@@ -12,6 +12,8 @@ |
#include "SkTRegistry.h" |
#include "SkTypes.h" |
+#include <vector> |
+ |
class Fuzz : SkNoncopyable { |
public: |
explicit Fuzz(sk_sp<SkData>); |
@@ -22,10 +24,10 @@ public: |
size_t remaining(); |
template <typename T> |
- bool next(T* n); |
+ bool SK_WARN_UNUSED_RESULT next(T* n); |
// UBSAN reminds us that bool can only legally hold 0 or 1. |
- bool next(bool* b) { |
+ bool SK_WARN_UNUSED_RESULT next(bool* b) { |
uint8_t byte; |
if (!this->next(&byte)) { |
return false; |