diff --git a/src/libs/clangsupport/clangpathwatchernotifier.cpp b/src/libs/clangsupport/clangpathwatchernotifier.cpp index 66f6b3534f5..ce596a9f776 100644 --- a/src/libs/clangsupport/clangpathwatchernotifier.cpp +++ b/src/libs/clangsupport/clangpathwatchernotifier.cpp @@ -27,9 +27,6 @@ namespace ClangBackEnd { -ClangPathWatcherNotifier::~ClangPathWatcherNotifier() -{ - -} +ClangPathWatcherNotifier::~ClangPathWatcherNotifier() = default; } // namespace ClangBackEnd diff --git a/src/libs/clangsupport/clangpathwatchernotifier.h b/src/libs/clangsupport/clangpathwatchernotifier.h index a2ee330c2fb..935e62ebb74 100644 --- a/src/libs/clangsupport/clangpathwatchernotifier.h +++ b/src/libs/clangsupport/clangpathwatchernotifier.h @@ -36,7 +36,10 @@ namespace ClangBackEnd { class CLANGSUPPORT_EXPORT ClangPathWatcherNotifier { public: + ClangPathWatcherNotifier() = default; virtual ~ClangPathWatcherNotifier(); + ClangPathWatcherNotifier(const ClangPathWatcherNotifier &) = delete; + void operator=(const ClangPathWatcherNotifier &) = delete; virtual void pathsWithIdsChanged(const Utils::SmallStringVector &ids) = 0; virtual void pathsChanged(const FilePathIds &filePathIds) = 0;