Merge pull request #286 from yuriks/msvc-fix
Comment out empty arrays causing compile errors in MSVC
This commit is contained in:
		
						commit
						cdfa7157eb
					
				@ -11,13 +11,14 @@
 | 
			
		||||
 | 
			
		||||
namespace AM_APP {
 | 
			
		||||
 | 
			
		||||
const Interface::FunctionInfo FunctionTable[] = {
 | 
			
		||||
};
 | 
			
		||||
// Empty arrays are illegal -- commented out until an entry is added.
 | 
			
		||||
//const Interface::FunctionInfo FunctionTable[] = { };
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Interface class
 | 
			
		||||
 | 
			
		||||
Interface::Interface() {
 | 
			
		||||
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
    //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
 | 
			
		||||
@ -11,13 +11,14 @@
 | 
			
		||||
 | 
			
		||||
namespace CECD_U {
 | 
			
		||||
 | 
			
		||||
const Interface::FunctionInfo FunctionTable[] = {
 | 
			
		||||
};
 | 
			
		||||
// Empty arrays are illegal -- commented out until an entry is added.
 | 
			
		||||
//const Interface::FunctionInfo FunctionTable[] = { };
 | 
			
		||||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Interface class
 | 
			
		||||
 | 
			
		||||
Interface::Interface() {
 | 
			
		||||
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
    //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
} // namespace
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user