summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/lib/jxl/padded_bytes.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/jpeg-xl/lib/jxl/padded_bytes.h')
-rw-r--r--third_party/jpeg-xl/lib/jxl/padded_bytes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/jpeg-xl/lib/jxl/padded_bytes.h b/third_party/jpeg-xl/lib/jxl/padded_bytes.h
index 0d696475fa..38167ed408 100644
--- a/third_party/jpeg-xl/lib/jxl/padded_bytes.h
+++ b/third_party/jpeg-xl/lib/jxl/padded_bytes.h
@@ -71,7 +71,7 @@ class PaddedBytes {
return *this;
}
- void swap(PaddedBytes& other) {
+ void swap(PaddedBytes& other) noexcept {
std::swap(size_, other.size_);
std::swap(capacity_, other.capacity_);
std::swap(data_, other.data_);