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/LuaState.h

    r10264 r10265  
    9494        void clearOutput() { output_.clear(); } // tolua_export
    9595
    96         void setTraceMap(shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> map)
    97             { map->push_back(std::vector<std::pair<std::string, size_t>>()); lineTrace_ = map; }
     96        void setTraceMap(shared_ptr<std::vector<std::vector<std::pair<std::string, size_t> > > > map)
     97            { map->push_back(std::vector<std::pair<std::string, size_t> >()); lineTrace_ = map; }
    9898
    9999        void setIncludeParser(std::string (*function)(const std::string&)) { includeParseFunction_ = function; }
     
    116116    private:
    117117        shared_ptr<ResourceInfo> getFileInfo(const std::string& filename);
    118         shared_ptr<std::vector<std::vector<std::pair<std::string, size_t>>>> lineTrace_;
     118        shared_ptr<std::vector<std::vector<std::pair<std::string, size_t> > > > lineTrace_;
    119119       
    120120        std::stringstream output_;
Note: See TracChangeset for help on using the changeset viewer.