Jump to content

flatik

Premium
  • Posts

    94
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by flatik

  1. Not work! ő.Ő

    My version: G++5, boost 1.5.8, lua51, libdevil 1.7.8, freebsd 10.3

    Edit:

    replace typeof with __typeof

    replace auto_ptr with unique_ptr

     

    Makefile:

    LIBS = -pthread -lm -lmd
    CFLAGS = -g -Wall -Ofast -std=c++11 -pipe -mtune=athlon-fx -fstack-protector-all -m64 -fexceptions -D_THREAD_SAFE -DNDEBUG -Wno-strict-aliasing

    what the problem? :(

  2. On 2016. 04. 03. at 5:08 PM, ds_aim said:

    You can replace iterators with auto.. this solved problem for me

     

    
    auto iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);
    

    boost::unordered_map<const VID, size_t>::iterator iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);

    replace to?

    auto iterTargetMap = rSkillUseInfo.TargetVIDMap.find(TargetVID);

    that enough?

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.