Skip to content

Commit 1fb91c1

Browse files
authored
Simplify
1 parent 6c80c6e commit 1fb91c1

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

modules/core/util/include/util.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#include <string>
77
#include <string_view>
88

9+
#define PPC_FUNC_NAME __func__
10+
911
#ifdef _MSC_VER
1012
#pragma warning(push)
1113
#pragma warning(disable : 4459)
@@ -30,12 +32,6 @@ using NlohmannJsonTypeError = nlohmann::json::type_error; // NOLINT(misc-includ
3032
#define INSTANTIATE_TEST_SUITE_P_NOLINT(n, t, g) INSTANTIATE_TEST_SUITE_P(n, t, g) // NOLINT
3133
// INSTANTIATE_TEST_SUITE_P | n, t, g, ng == name, test_case_name, generator, name_generator
3234

33-
#if defined(__clang__) || defined(__GNUC__)
34-
#define PPC_FUNC_NAME __PRETTY_FUNCTION__
35-
#else
36-
#define PPC_FUNC_NAME __func__
37-
#endif
38-
3935
namespace ppc::util {
4036

4137
enum GTestParamIndex : uint8_t { kTaskGetter, kNameTest, kTestParams };

0 commit comments

Comments
 (0)