1
0
Fork 0
forked from suyu/suyu

Comment out empty arrays causing compile errors in MSVC

This commit is contained in:
Yuri Kunde Schlesner 2014-12-16 01:37:13 -02:00
parent cd2a31eaf4
commit 082bf803ab
2 changed files with 8 additions and 6 deletions

View file

@ -11,13 +11,14 @@
namespace AM_APP { 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 class
Interface::Interface() { Interface::Interface() {
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
} }
} // namespace } // namespace

View file

@ -11,13 +11,14 @@
namespace CECD_U { 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 class
Interface::Interface() { Interface::Interface() {
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); //Register(FunctionTable, ARRAY_SIZE(FunctionTable));
} }
} // namespace } // namespace