diff --git a/src/xrGame/alife_registry_container.cpp b/src/xrGame/alife_registry_container.cpp index a9fe168e091..2b1818c072e 100644 --- a/src/xrGame/alife_registry_container.cpp +++ b/src/xrGame/alife_registry_container.cpp @@ -53,7 +53,7 @@ class RegistryHelper } template <> - static void Load(TContainer* self, IReader& reader) + static void Load(TContainer* self, IReader& reader) { } @@ -64,7 +64,7 @@ class RegistryHelper } template <> - static void Save(TContainer* self, IWriter& writer) + static void Save(TContainer* self, IWriter& writer) { } diff --git a/src/xrGame/base_client_classes_wrappers.h b/src/xrGame/base_client_classes_wrappers.h index dd99c16daa6..f8d2de09b00 100644 --- a/src/xrGame/base_client_classes_wrappers.h +++ b/src/xrGame/base_client_classes_wrappers.h @@ -34,7 +34,7 @@ struct heritage { }; - typedef Loki::Typelist<_1, Loki::Typelist<_2, Loki::NullType>> tl; + typedef Loki::Typelist<_1, Loki::Typelist<_2, Loki::EmptyType>> tl; typedef typename Loki::TL::Erase::Result pure_tl; typedef typename Loki::GenLinearHierarchy result; }; diff --git a/src/xrGame/game_state_accumulator.h b/src/xrGame/game_state_accumulator.h index 9aec7b05287..156527ff4b1 100644 --- a/src/xrGame/game_state_accumulator.h +++ b/src/xrGame/game_state_accumulator.h @@ -96,7 +96,7 @@ class game_state_accumulator : public game_events_handler template void init_acpv_list(); template <> - void init_acpv_list(){}; + void init_acpv_list(){}; void update_average_values(); void update_accumulative_values(); diff --git a/src/xrServerEntities/smart_cast_impl0.h b/src/xrServerEntities/smart_cast_impl0.h index 9d7e0dd8f7f..95929c629d1 100644 --- a/src/xrServerEntities/smart_cast_impl0.h +++ b/src/xrServerEntities/smart_cast_impl0.h @@ -41,16 +41,16 @@ struct CTypeHelper }; template <> - struct add + struct add { - typedef Loki::Typelist>, List> result; + typedef Loki::Typelist>, List> result; }; typedef typename add::result result; }; }; -#define cast_type_list Loki::NullType +#define cast_type_list Loki::EmptyType #define add_to_cast_list(B, A) typedef SmartDynamicCast::CTypeHelper::result TypeList_##A##B #define save_cast_list(B, A) TypeList_##A##B diff --git a/src/xrServerEntities/smart_cast_impl1.h b/src/xrServerEntities/smart_cast_impl1.h index bac443b9457..d49012282db 100644 --- a/src/xrServerEntities/smart_cast_impl1.h +++ b/src/xrServerEntities/smart_cast_impl1.h @@ -59,7 +59,7 @@ struct exists }; template <> - struct iterator + struct iterator { enum { @@ -83,7 +83,7 @@ struct merge }; template <> - struct iterator + struct iterator { typedef List2 result; }; @@ -116,9 +116,9 @@ struct has_conversion }; template <> - struct search_base + struct search_base { - typedef Loki::NullType result; + typedef Loki::EmptyType result; }; template @@ -149,7 +149,7 @@ struct has_conversion }; template <> - struct search_conversion + struct search_conversion { enum { @@ -197,7 +197,7 @@ struct has_any_conversion }; template <> - struct iterator + struct iterator { enum { @@ -233,14 +233,14 @@ struct CMatcher template struct _selector { - typedef Loki::Typelist> result; + typedef Loki::Typelist> result; }; template <> struct _selector { typedef Loki::Typelist>> + Loki::Typelist>> result; }; @@ -258,7 +258,7 @@ struct CMatcher }; template <> - struct CMatchHelper3 + struct CMatchHelper3 { typedef typename CMatchHelper::result result; }; @@ -290,9 +290,9 @@ struct CMatcher }; template <> - struct CMatchHelper + struct CMatchHelper { - typedef Loki::NullType result; + typedef Loki::EmptyType result; }; typedef typename CMatchHelper::result result; @@ -326,7 +326,7 @@ struct conversion_sequence typedef search_result result; }; - typedef typename selector::value>::result result; + typedef typename selector::value>::result result; }; template @@ -346,7 +346,7 @@ struct conversion_sequence typedef typename list_iterator::result result; }; - typedef typename _selector::value>::result result; + typedef typename _selector::value>::result result; }; template <> @@ -369,7 +369,7 @@ struct conversion_sequence typedef typename list_iterator::result result; }; - typedef typename _selector2::value>::result result; + typedef typename _selector2::value>::result result; }; template <> @@ -386,9 +386,9 @@ struct conversion_sequence }; template <> - struct list_iterator + struct list_iterator { - typedef Loki::NullType result; + typedef Loki::EmptyType result; }; template @@ -410,7 +410,7 @@ struct conversion_sequence typedef typename list_iterator::result result; }; - typedef typename _selector::value>::result result; + typedef typename _selector::value>::result result; }; template <> @@ -422,7 +422,7 @@ struct conversion_sequence template <> struct selector<0> { - typedef Loki::NullType result; + typedef Loki::EmptyType result; }; typedef typename selector::result result; @@ -451,7 +451,7 @@ struct CSmartCaster }; template <> - struct CHelper + struct CHelper { IC static Target* smart_cast(Head* p) { return (SmartDynamicCast::smart_cast(p)); } }; @@ -474,7 +474,7 @@ struct CSmartMatcher } template <> - IC static T1* smart_cast(T2* p) + IC static T1* smart_cast(T2* p) { #ifdef SHOW_SMART_CAST_UNOPTIMIZED_CASES #pragma todo("Dima to all : this smart_cast is not optimized!")