Changeset View
Changeset View
Standalone View
Standalone View
source/simulation2/components/CCmpObstruction.cpp
Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Lines | public: | ||||
} | } | ||||
virtual void Deinit() | virtual void Deinit() | ||||
{ | { | ||||
} | } | ||||
struct SerializeTag | struct SerializeTag | ||||
{ | { | ||||
template<typename S> | template<typename S, typename T> | ||||
void operator()(S& serialize, const char* UNUSED(name), tag_t& value) | void operator()(S& serialize, const char* UNUSED(name), T& value) | ||||
vladislavbelov: Why so? Why the type isn't checked? Same question for other similar changes. | |||||
{ | { | ||||
serialize.NumberU32_Unbounded("tag", value.n); | serialize.NumberU32_Unbounded("tag", value.n); | ||||
} | } | ||||
}; | }; | ||||
template<typename S> | template<typename S> | ||||
void SerializeCommon(S& serialize) | void SerializeCommon(S& serialize) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 567 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Why so? Why the type isn't checked? Same question for other similar changes.