upb: delete upb::SymbolTable typedef
PiperOrigin-RevId: 589157104
diff --git a/upb/reflection/BUILD b/upb/reflection/BUILD
index d29a964..f12e705 100644
--- a/upb/reflection/BUILD
+++ b/upb/reflection/BUILD
@@ -65,6 +65,8 @@
"//upb:mem",
"//upb:message",
"//upb:message_value",
+ "//upb:mini_descriptor",
+ "//upb:mini_table",
"//upb:port",
],
)
diff --git a/upb/reflection/def.hpp b/upb/reflection/def.hpp
index 855ef3d..983ffbf 100644
--- a/upb/reflection/def.hpp
+++ b/upb/reflection/def.hpp
@@ -8,13 +8,20 @@
#ifndef UPB_REFLECTION_DEF_HPP_
#define UPB_REFLECTION_DEF_HPP_
+#include <stdint.h>
+
#include <cstring>
#include <memory>
#include <string>
-#include <vector>
+#include "upb/base/descriptor_constants.h"
#include "upb/base/status.hpp"
+#include "upb/base/string_view.h"
#include "upb/mem/arena.hpp"
+#include "upb/mini_descriptor/decode.h"
+#include "upb/mini_table/enum.h"
+#include "upb/mini_table/field.h"
+#include "upb/mini_table/message.h"
#include "upb/reflection/def.h"
#include "upb/reflection/internal/def_pool.h"
#include "upb/reflection/internal/enum_def.h"
@@ -555,9 +562,6 @@
std::unique_ptr<upb_DefPool, decltype(&upb_DefPool_Free)> ptr_;
};
-// TODO: This typedef is deprecated. Delete it.
-using SymbolTable = DefPool;
-
inline FileDefPtr FieldDefPtr::file() const {
return FileDefPtr(upb_FieldDef_File(ptr_));
}