[libcxx-commits] [PATCH] D144775: [libc++][test] Add '-Wdeprecated-copy', '-Wdeprecated-copy-dtor' warnings to the test suite
    Nikolas Klauser via Phabricator via libcxx-commits 
    libcxx-commits at lists.llvm.org
       
    Wed Mar  1 08:57:19 PST 2023
    
    
  
philnik added inline comments.
================
Comment at: libcxx/test/support/nasty_containers.h:44-46
+    nasty_vector(const nasty_vector&) = default;
+    nasty_vector& operator=(const nasty_vector&) = default;
     ~nasty_vector() {}
----------------
Maybe just remove the destructor instead? If it breaks a test ignore the suggestion.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144775/new/
https://reviews.llvm.org/D144775
    
    
More information about the libcxx-commits
mailing list