Browse Source

Typo in stderr message in serialize (#1789)

Something very minor.. but I was searching through the source where the `is not serializable: derive from igl::Serializable or spezialize the template function` message came from by searching for 'specialize'.
Tom Lankhorst 4 years ago
parent
commit
dda197248e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/igl/serialize.h

+ 2 - 2
include/igl/serialize.h

@@ -1245,13 +1245,13 @@ namespace igl
     template <typename T>
     template <typename T>
     inline void serialize(const T& obj,std::vector<char>& buffer)
     inline void serialize(const T& obj,std::vector<char>& buffer)
     {
     {
-      std::cerr << typeid(obj).name() << " is not serializable: derive from igl::Serializable or spezialize the template function igl::serialization::serialize(const T& obj,std::vector<char>& buffer)" << std::endl;
+      std::cerr << typeid(obj).name() << " is not serializable: derive from igl::Serializable or specialize the template function igl::serialization::serialize(const T& obj,std::vector<char>& buffer)" << std::endl;
     }
     }
  
  
     template <typename T>
     template <typename T>
     inline void deserialize(T& obj,const std::vector<char>& buffer)
     inline void deserialize(T& obj,const std::vector<char>& buffer)
     {
     {
-      std::cerr << typeid(obj).name() << " is not deserializable: derive from igl::Serializable or spezialize the template function igl::serialization::deserialize(T& obj, const std::vector<char>& buffer)" << std::endl;
+      std::cerr << typeid(obj).name() << " is not deserializable: derive from igl::Serializable or specialize the template function igl::serialization::deserialize(T& obj, const std::vector<char>& buffer)" << std::endl;
     }
     }
  
  
     // helper functions
     // helper functions