Remove unused includes
PiperOrigin-RevId: 546852869
Change-Id: Idc7a325b9f9961e048afac15ca05e9eb08887ac9
diff --git a/common/BUILD b/common/BUILD
index 12054a3..9cf9776 100644
--- a/common/BUILD
+++ b/common/BUILD
@@ -128,19 +128,14 @@
cc_library(
name = "strong_int",
hdrs = ["strong_int.h"],
- deps = [
- "@absl//absl/base:core_headers",
- "@absl//absl/meta:type_traits",
- ],
+ deps = ["@absl//absl/hash"],
)
cc_library(
name = "string_type",
hdrs = ["string_type.h"],
deps = [
- "@absl//absl/container:flat_hash_set",
"@absl//absl/flags:marshalling",
- "@absl//absl/meta:type_traits",
"@absl//absl/strings",
],
)
diff --git a/common/string_type.h b/common/string_type.h
index c9c2e50..b443e29 100644
--- a/common/string_type.h
+++ b/common/string_type.h
@@ -29,14 +29,11 @@
#ifndef CRUBIT_COMMON_STRING_TYPE_H_
#define CRUBIT_COMMON_STRING_TYPE_H_
-#include <memory>
#include <ostream> // NOLINT
#include <string>
#include <utility>
-#include "absl/container/flat_hash_set.h"
#include "absl/flags/marshalling.h"
-#include "absl/meta/type_traits.h"
#include "absl/strings/string_view.h"
// Defines the StringType using StringTypeRepresentation and provides a type
diff --git a/common/strong_int.h b/common/strong_int.h
index 02cf21f..5940592 100644
--- a/common/strong_int.h
+++ b/common/strong_int.h
@@ -68,8 +68,7 @@
#include <type_traits>
#include <utility>
-#include "absl/base/macros.h"
-#include "absl/meta/type_traits.h"
+#include "absl/hash/hash.h"
namespace crubit {