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

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