Jelajahi Sumber

fixed - no more anonymous namespaces

Michele Caini 8 tahun lalu
induk
melakukan
aaf0e145eb
2 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 1 1
      src/entt/core/ident.hpp
  2. 3 3
      src/entt/signal/sigh.hpp

+ 1 - 1
src/entt/core/ident.hpp

@@ -99,7 +99,7 @@ private:
  * @tparam Types List of types for which to generate identifiers.
  */
 template<typename... Types>
-constexpr auto ident = Identifier<std::decay_t<Types>...>{std::make_index_sequence<sizeof...(Types)>{}};
+constexpr auto ident = internal::Identifier<std::decay_t<Types>...>{std::make_index_sequence<sizeof...(Types)>{}};
 
 
 }

+ 3 - 3
src/entt/signal/sigh.hpp

@@ -107,7 +107,7 @@ class Sink;
  * @tparam Function A valid function type.
  * @tparam Collector Type of collector to use, if any.
  */
-template<typename Function, typename Collector = DefaultCollectorType<Function>>
+template<typename Function, typename Collector = internal::DefaultCollectorType<Function>>
 class SigH;
 
 
@@ -251,8 +251,8 @@ private:
  * @tparam Collector Type of collector to use, if any.
  */
 template<typename Ret, typename... Args, typename Collector>
-class SigH<Ret(Args...), Collector> final: private Invoker<Ret(Args...), Collector> {
-    using call_type = typename Invoker<Ret(Args...), Collector>::call_type;
+class SigH<Ret(Args...), Collector> final: private internal::Invoker<Ret(Args...), Collector> {
+    using call_type = typename internal::Invoker<Ret(Args...), Collector>::call_type;
 
 public:
     /*! @brief Unsigned integer type. */