summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-11-15 20:00:32 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-11-15 20:01:35 (GMT)
commit4408a0288b24fbe9156a9b14bbecd148ea64f40f (patch)
treea5332336d82acc2019e385d55a0eb36a7bff3ede /googletest/src
parent0e6aac2571eb1753b8855d8d1f592df64d1a4828 (diff)
downloadgoogletest-4408a0288b24fbe9156a9b14bbecd148ea64f40f.zip
googletest-4408a0288b24fbe9156a9b14bbecd148ea64f40f.tar.gz
googletest-4408a0288b24fbe9156a9b14bbecd148ea64f40f.tar.bz2
Remove incorrect usage of GTEST_ATTRIBUTE_UNUSED_ on classes.
Fixes: #4054 PiperOrigin-RevId: 488721587 Change-Id: I8742d8475376635c83edcf524796a6107042e89b
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest-internal-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h
index 8c650e0..517cc13 100644
--- a/googletest/src/gtest-internal-inl.h
+++ b/googletest/src/gtest-internal-inl.h
@@ -212,7 +212,7 @@ class GTestFlagSaver {
int32_t stack_trace_depth_;
std::string stream_result_to_;
bool throw_on_failure_;
-} GTEST_ATTRIBUTE_UNUSED_;
+};
// Converts a Unicode code point to a narrow string in UTF-8 encoding.
// code_point parameter is of type UInt32 because wchar_t may not be