Replace typedef keywords by using

This commit is contained in:
Lynix
2018-03-20 20:59:04 +01:00
parent 69f079fcc8
commit ad82de2962
24 changed files with 72 additions and 71 deletions

View File

@@ -78,8 +78,8 @@ namespace Nz
T x, y, z, radius;
};
typedef Sphere<double> Sphered;
typedef Sphere<float> Spheref;
using Sphered = Sphere<double>;
using Spheref = Sphere<float>;
template<typename T> bool Serialize(SerializationContext& context, const Sphere<T>& sphere, TypeTag<Sphere<T>>);
template<typename T> bool Unserialize(SerializationContext& context, Sphere<T>* sphere, TypeTag<Sphere<T>>);