clang/mac fixes

This commit is contained in:
Aleksandar Fabijanic
2013-04-28 12:49:02 -05:00
parent a50823c5a8
commit 9663074e9e
3 changed files with 10 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ class Binding: public AbstractBinding
/// function. An attempt to pass a constant by reference shall result in compile-time error.
{
public:
typedef typename T ValType;
typedef T ValType;
typedef Binding<ValType> Type;
typedef SharedPtr<Type> Ptr;
@@ -142,7 +142,7 @@ class CopyBinding: public AbstractBinding
/// Variables can be passed as either copies or references (i.e. using either use() or bind()).
{
public:
typedef typename T ValType;
typedef T ValType;
typedef SharedPtr<ValType> ValPtr;
typedef CopyBinding<ValType> Type;
typedef SharedPtr<Type> Ptr;