[Bf-blender-cvs] [6d94064] object_nodes: Removed an unconventional typename use that causes problems with MSVC.

Lukas Tönne noreply at git.blender.org
Tue Nov 24 09:44:18 CET 2015


Commit: 6d9406453af61de30aea316a25362a1477d80007
Author: Lukas Tönne
Date:   Tue Nov 10 10:59:59 2015 +0100
Branches: object_nodes
https://developer.blender.org/rB6d9406453af61de30aea316a25362a1477d80007

Removed an unconventional typename use that causes problems with MSVC.

===================================================================

M	source/blender/blenvm/util/bvm_util_typedesc.h

===================================================================

diff --git a/source/blender/blenvm/util/bvm_util_typedesc.h b/source/blender/blenvm/util/bvm_util_typedesc.h
index 13854a0..9141937 100644
--- a/source/blender/blenvm/util/bvm_util_typedesc.h
+++ b/source/blender/blenvm/util/bvm_util_typedesc.h
@@ -369,7 +369,7 @@ int TypeDesc::stack_size() const
 void TypeDesc::copy_value(void *to, const void *from) const
 {
 	#define COPY_TYPE(a, b, type) \
-	BaseTypeTraits<type>::copy((typename BaseTypeTraits<type>::POD*)to, (typename BaseTypeTraits<type>::POD const *)from);
+	BaseTypeTraits<type>::copy((BaseTypeTraits<type>::POD*)to, (BaseTypeTraits<type>::POD const *)from);
 	
 	switch (base_type) {
 		case BVM_FLOAT: COPY_TYPE(to, from, BVM_FLOAT); break;




More information about the Bf-blender-cvs mailing list