Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 11, 2015, 11:17:57 PM (9 years ago)
Author:
landauf
Message:

fixed build with older compilers (pre c++11)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/Loader.cc

    r10264 r10265  
    160160        std::string xmlInput;
    161161
    162         shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> lineTrace(new std::vector<std::vector<std::pair<std::string, size_t>>>());
     162        shared_ptr<std::vector<std::vector<std::pair<std::string, size_t> > > > lineTrace(new std::vector<std::vector<std::pair<std::string, size_t> > >());
    163163        lineTrace->reserve(1000); //arbitrary number
    164164
     
    251251                    if (line <= lineTrace->size())
    252252                    {
    253                         std::vector<std::pair<std::string, size_t>> linesources = lineTrace->at(line - 1);
     253                        std::vector<std::pair<std::string, size_t> > linesources = lineTrace->at(line - 1);
    254254                        orxout(user_error, context::loader) << "Line contains data from:" << endl;
    255                         for (std::vector<std::pair<std::string, size_t>>::iterator it = linesources.begin(); it != linesources.end(); ++it)
     255                        for (std::vector<std::pair<std::string, size_t> >::iterator it = linesources.begin(); it != linesources.end(); ++it)
    256256                        {
    257257                            orxout(user_error, context::loader) << it->first << " , Line " << it->second << endl;
Note: See TracChangeset for help on using the changeset viewer.