Browse Source

Stop gcc with -Wswitch complaining about missing NONE

Chris Parsons 13 years ago
parent
commit
39568ff21e
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:
 		case VOIDPTR:
 			return TypeConverter< void*, T >::Convert((void*)data, value);
 			return TypeConverter< void*, T >::Convert((void*)data, value);
 		break;
 		break;
+
+		case NONE:
+		break;
+
 	}
 	}
 
 
 	return false;
 	return false;