From c191672013b846e154e29ceaca1a47768ce6f0e8 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Mon, 9 Jan 2017 13:09:18 +0100 Subject: [PATCH] Utils: Change UNIT_TEST_PUBLIC in unitttest_public Change-Id: If60f24e3b055d543ba7864d4eb7e8287721d1012 Reviewed-by: Marco Bubke Reviewed-by: Tim Jenssen --- src/libs/utils/smallstring.h | 6 +++--- src/plugins/clangrefactoring/refactoringclient.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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);