• R/O
  • SSH
  • HTTPS

iutest: Commit


Commit MetaInfo

Revision1336 (tree)
Time2018-08-23 08:52:21
Authorsrz_zumix

Log Message

Merge pull request #87 from mogemimi/fix-Wnon-virtual-dtor

Fix -Wnon-virtual-dtor warning on Clang
git@453491ed89f6dae44f0ce988857ea828ccc4ffd6
https://github.com/srz-zumix/iutest/commit/453491ed89f6dae44f0ce988857ea828ccc4ffd6

Change Summary

Incremental Difference

--- trunk/include/iutest_matcher.hpp (revision 1335)
+++ trunk/include/iutest_matcher.hpp (revision 1336)
@@ -63,10 +63,14 @@
6363 */
6464 class IMatcher
6565 {
66+ IMatcher& operator=(const IMatcher&);
6667 public:
6768 template<typename T>
6869 struct is_matcher : public iutest_type_traits::is_base_of<IMatcher, T> {};
6970 public:
71+ IMatcher() {}
72+ IMatcher(const IMatcher&) {}
73+ virtual ~IMatcher() {}
7074 virtual ::std::string WhichIs() const = 0;
7175 };
7276
Show on old repository browser