X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fpthreadwrapper%2Fnoncopyable.h;h=9e6170186794172c3d7fe77d4d8ebeba950f6e2c;hp=e6ebb8ade2ad46a71a780f91f2af9a24c4721030;hb=df316253862dc50e8e5a790d9634ef90be37badb;hpb=f60495a029c54358f82956482fe203fe2b7b5b23 diff --git a/include/pthreadwrapper/noncopyable.h b/include/pthreadwrapper/noncopyable.h index e6ebb8a..9e61701 100644 --- a/include/pthreadwrapper/noncopyable.h +++ b/include/pthreadwrapper/noncopyable.h @@ -7,8 +7,8 @@ namespace PThread class NonCopyable { protected: - NonCopyable() {} - ~NonCopyable() {} + NonCopyable() {} + virtual ~NonCopyable() {} private: // restrict copy and assignment