Skip to content

Commit 4ad31e9

Browse files
committed
Bits: Remove use of FRIEND_TEST and gunit_prod
We don't include the Bits tests, so these are pointless and pollute the public API with gtest, even if gtest was not configured.
1 parent 344e860 commit 4ad31e9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/s2/util/bits/bits.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353

5454
#include <type_traits>
5555

56-
#include <gtest/gtest_prod.h>
57-
5856
#include "s2/base/integral_types.h"
5957
#include "s2/base/logging.h"
6058
#include "s2/base/port.h"
@@ -358,9 +356,6 @@ class Bits {
358356
static const char num_bits[];
359357
Bits(Bits const&) = delete;
360358
void operator=(Bits const&) = delete;
361-
362-
FRIEND_TEST(Bits, Port32);
363-
FRIEND_TEST(Bits, Port64);
364359
};
365360

366361
// A utility class for some handy bit patterns. The names l and h

0 commit comments

Comments
 (0)