Clang(#928): clarify instantiation of dependent template

clang-3.2 requires a clarification here (while previous versions
of clang and GCC automatically resolved the ambiguity by assuming
use of a nested, dependent template).
This commit is contained in:
Fischlurch 2013-10-06 06:18:06 +02:00
parent f136220131
commit 6d064cb7b7

View file

@ -285,7 +285,7 @@ namespace mobject {
isCompatible() const
{
return pRef_
&& (*pRef_).isCompatible<MOX>();
&& (*pRef_).template isCompatible<MOX>();
}
operator string() const ///////////////////////TICKET #527 should be better integrated with the other object types