diff options
Diffstat (limited to 'test/bptr.cpp')
-rw-r--r-- | test/bptr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bptr.cpp b/test/bptr.cpp index b254f295..303bf027 100644 --- a/test/bptr.cpp +++ b/test/bptr.cpp @@ -48,7 +48,7 @@ struct A { int val, serial; explicit A(int val) : val{val}, serial{++A_total} { ++A_alive; } - ~A() noexcept { --A_alive; fm_assert(A_alive >= 0); } + ~A() noexcept override { --A_alive; fm_assert(A_alive >= 0); } fm_DECLARE_DELETED_COPY_MOVE_ASSIGNMENTS(A); }; |