Prechádzať zdrojové kódy

BlenderDNA: Silence warning about inline function which is declared but not defined

It's a templated method which is meant to be specialized. The base version
is never called. Just remove 'inline' to make GCC shut up.
Turo Lamminen 8 rokov pred
rodič
commit
982430c3ce
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      code/BlenderDNA.h

+ 1 - 1
code/BlenderDNA.h

@@ -253,7 +253,7 @@ public:
      *  a compiler complain is the result.
      *  a compiler complain is the result.
      *  @param dest Destination value to be written
      *  @param dest Destination value to be written
      *  @param db File database, including input stream. */
      *  @param db File database, including input stream. */
-    template <typename T> inline void Convert (T& dest, const FileDatabase& db) const;
+    template <typename T> void Convert (T& dest, const FileDatabase& db) const;
 
 
     // --------------------------------------------------------
     // --------------------------------------------------------
     // generic converter
     // generic converter