Skip to content

Commit

Permalink
Fixed AVG_ASSERT_MSG issue with gcc6 and gcc7
Browse files Browse the repository at this point in the history
  • Loading branch information
tsch-amdx committed Aug 3, 2017
1 parent de170a8 commit 2ed5eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graphics/GLShaderParam.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "GLContext.h"

#include "../base/GLMHelper.h"
#include "../base/Exception.h"

#include <boost/shared_ptr.hpp>

Expand Down Expand Up @@ -81,7 +82,7 @@ class AVG_TEMPLATE_API GLShaderParamTemplate: public GLShaderParam
void uniformSet(unsigned location, const VAL_TYPE& val)
{
AVG_ASSERT_MSG(false,
getName()+"GLShaderParam::uniformSet() called for unsupported type.");
(getName()+"GLShaderParam::uniformSet() called for unsupported type.").c_str());
};

bool m_bValSet;
Expand Down

0 comments on commit 2ed5eb3

Please sign in to comment.