commit 3c6c65bb6a00d9fa32ed3f4bd677ed2d0c272ef5
parent 69283fedaafd6321b58f4dc6bbcf9e5583075f89
Author: serge-sans-paille <sguelton@mozilla.com>
Date: Mon, 8 Dec 2025 14:05:44 +0000
Bug 2001040 - Do not include <algorithm> without referencing its content in TestSTLWrappers r=nika
Differential Revision: https://phabricator.services.mozilla.com/D273178
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/xpcom/tests/gtest/TestSTLWrappers.cpp b/xpcom/tests/gtest/TestSTLWrappers.cpp
@@ -27,6 +27,9 @@
#include "mozilla/gtest/MozHelpers.h"
+// Just to check that <algorithm> symbol are indeed included.
+[[maybe_unused]] constexpr auto algorithm_usage = std::max(1, 2);
+
void ShouldAbort() {
ZERO_GDB_SLEEP();