adapt resolver to c++11