summaryrefslogtreecommitdiffhomepage
path: root/test/bptr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bptr.cpp')
-rw-r--r--test/bptr.cpp2
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);
};