| commit | 79076c7b7116f91c98f3d15a60778789976c90d9 | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Mon Nov 23 18:16:55 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Mon Nov 23 18:17:01 2020 -0800 |
| tree | ebc121f35f7cac06baa1c0e1a06327ee3be8861f | |
| parent | 1567186114aa40923f46e1185ab6dcebdbae8b53 [diff] [blame] |
Resolve modernize-use-equals-default https://github.com/dtolnay/cxx/issues/500
diff --git a/include/cxx.h b/include/cxx.h index 8d7e96f..f87d333 100644 --- a/include/cxx.h +++ b/include/cxx.h
@@ -477,7 +477,7 @@ } template <typename T> -Box<T>::Box() noexcept {} +Box<T>::Box() noexcept = default; #endif // CXXBRIDGE1_RUST_BOX #ifndef CXXBRIDGE1_RUST_VEC