Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2010, 1:19:11 PM (14 years ago)
Author:
landauf
Message:

added a missing TypeTrait in MultiType which caused problems on some compilers with explicit conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/Executor.cc

    r7230 r7265  
    6767        }
    6868
     69        COUT(5) << "Executor::parse: \"" << arguments.join(delimiter) << "\" -> " << paramCount << " params: " << param[0] << " / " << param[1] << " / " << param[2] << " / " << param[3] << " / " << param[4] << std::endl;
     70
    6971        switch (paramCount)
    7072        {
     
    9698
    9799        // assign all given arguments to the multitypes
    98         for (unsigned int i = 0; i < std::min(argumentCount, MAX_FUNCTOR_ARGUMENTS); i++)
     100        for (unsigned int i = 0; i < std::min(std::min(argumentCount, paramCount), MAX_FUNCTOR_ARGUMENTS); i++)
    99101            param[i] = arguments[i];
    100102
Note: See TracChangeset for help on using the changeset viewer.