summaryrefslogtreecommitdiffhomepage
path: root/compat/borrowed-ptr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/borrowed-ptr.cpp')
-rw-r--r--compat/borrowed-ptr.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/compat/borrowed-ptr.cpp b/compat/borrowed-ptr.cpp
index 8c05b751..2eac9ad7 100644
--- a/compat/borrowed-ptr.cpp
+++ b/compat/borrowed-ptr.cpp
@@ -31,11 +31,8 @@ uint32_t control_block_::count() const noexcept { return _count; }
} // namespace floormat::detail_borrowed_ptr
-namespace floormat {
-
-namespace { struct Foo {}; }
-
-template struct detail_borrowed_ptr::control_block<Foo>;
-template class bptr<Foo>;
-
-} // namespace floormat
+namespace {
+struct Foo {};
+struct Bar : Foo {};
+struct Baz {};
+} // namespace