Address warnings on Clang 3.9 caused by having a static data member in a class template.

This commit is contained in:
Jared Mulconry
2017-10-05 23:55:10 +11:00
parent cbca8f574e
commit 341222697a
7 changed files with 41 additions and 15 deletions

View File

@@ -52,7 +52,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace Assimp
{
template< > const std::string LogFunctions< BlenderBMeshConverter >::log_prefix = "BLEND_BMESH: ";
template< > const char* LogFunctions< BlenderBMeshConverter >::Prefix()
{
static auto prefix = "BLEND_BMESH: ";
return prefix;
}
}
using namespace Assimp;