diff --git a/src/libs/utils/smallstring.h b/src/libs/utils/smallstring.h index 1de2a7275fb..40fbc714386 100644 --- a/src/libs/utils/smallstring.h +++ b/src/libs/utils/smallstring.h @@ -59,9 +59,9 @@ #endif #ifdef UNIT_TESTS -#define UNIT_TEST_PUBLIC public +#define unitttest_public public #else -#define UNIT_TEST_PUBLIC private +#define unitttest_public private #endif namespace Utils { @@ -519,7 +519,7 @@ public: return joinedString; } -UNIT_TEST_PUBLIC: +unitttest_public: bool isShortString() const noexcept { return !m_data.shortString.isReference; diff --git a/src/plugins/clangrefactoring/refactoringclient.h b/src/plugins/clangrefactoring/refactoringclient.h index 22a13c1a124..571214b2ee0 100644 --- a/src/plugins/clangrefactoring/refactoringclient.h +++ b/src/plugins/clangrefactoring/refactoringclient.h @@ -68,7 +68,7 @@ public: void setRefactoringConnectionClient(ClangBackEnd::RefactoringConnectionClient *connectionClient); -UNIT_TEST_PUBLIC: +unitttest_public: void addSearchResult(const ClangBackEnd::SourceRangeWithTextContainer &sourceRange, std::unordered_map &filePaths);