Browse Source

Merge pull request #71 from chrismdp/master

Stop gcc with -Wswitch complaining about missing NONE
Lloyd Weehuizen 13 years ago
parent
commit
4d86306886
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Include/Rocket/Core/Variant.inl

+ 4 - 0
Include/Rocket/Core/Variant.inl

@@ -81,6 +81,10 @@ bool Variant::GetInto(T& value) const
 		case VOIDPTR:
 			return TypeConverter< void*, T >::Convert((void*)data, value);
 		break;
+
+		case NONE:
+		break;
+
 	}
 
 	return false;