Skip to content

Commit

Permalink
Merge pull request assimp#4816 from tkoeppe/explspec
Browse files Browse the repository at this point in the history
[BlenderDNA.h] Declare explicit specializations
  • Loading branch information
kimkulling authored Nov 30, 2022
2 parents 497e286 + f578b15 commit b0987f4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/AssetLib/Blender/BlenderDNA.h
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,17 @@ inline bool Structure ::ResolvePointer<std::shared_ptr, ElemBase>(std::shared_pt
const Field &f,
bool) const;

template <> bool Structure :: ResolvePointer<std::shared_ptr,ElemBase>(
std::shared_ptr<ElemBase>& out, const Pointer & ptrval,
const FileDatabase& db, const Field&, bool) const;
template <> inline void Structure :: Convert<int> (int& dest,const FileDatabase& db) const;
template<> inline void Structure :: Convert<short> (short& dest,const FileDatabase& db) const;
template <> inline void Structure :: Convert<char> (char& dest,const FileDatabase& db) const;
template <> inline void Structure::Convert<unsigned char>(unsigned char& dest, const FileDatabase& db) const;
template <> inline void Structure :: Convert<float> (float& dest,const FileDatabase& db) const;
template <> inline void Structure :: Convert<double> (double& dest,const FileDatabase& db) const;
template <> inline void Structure :: Convert<Pointer> (Pointer& dest,const FileDatabase& db) const;

// -------------------------------------------------------------------------------
/** Represents the full data structure information for a single BLEND file.
* This data is extracted from the DNA1 chunk in the file.
Expand Down

0 comments on commit b0987f4

Please sign in to comment.