summaryrefslogtreecommitdiff
path: root/compiler/linker/output_stream_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/linker/output_stream_test.cc')
-rw-r--r--compiler/linker/output_stream_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/linker/output_stream_test.cc b/compiler/linker/output_stream_test.cc
index 22b174fce6..6b62874643 100644
--- a/compiler/linker/output_stream_test.cc
+++ b/compiler/linker/output_stream_test.cc
@@ -107,13 +107,13 @@ TEST_F(OutputStreamTest, BufferedFlush) {
flush_called(false) { }
~CheckingOutputStream() override {}
- bool WriteFully(const void* buffer ATTRIBUTE_UNUSED,
- size_t byte_count ATTRIBUTE_UNUSED) override {
+ bool WriteFully([[maybe_unused]] const void* buffer,
+ [[maybe_unused]] size_t byte_count) override {
LOG(FATAL) << "UNREACHABLE";
UNREACHABLE();
}
- off_t Seek(off_t offset ATTRIBUTE_UNUSED, Whence whence ATTRIBUTE_UNUSED) override {
+ off_t Seek([[maybe_unused]] off_t offset, [[maybe_unused]] Whence whence) override {
LOG(FATAL) << "UNREACHABLE";
UNREACHABLE();
}