내가 파일에서 오류ls.cc 파일에 오류가 있습니까?
를 follwing을 얻고 설치하는 동안은
Ns를 실패 만든다
linkstate/ls.cc:67:0:
linkstate/ls.h: In instantiation of ‘void LsMap<Key, T>::eraseAll() [with Key = int; T = LsIdSeq]’:
linkstate/ls.cc:396:28: required from here
linkstate/ls.h:137:58: error: ‘erase’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
void eraseAll() { erase(baseMap::begin(), baseMap::end()); }
^
linkstate/ls.h:137:58: note: declarations in dependent base ‘std::map<int, LsIdSeq, std::less<int>, std::allocator<std::pair<const int, LsIdSeq> > >’ are not found by unqualified lookup
linkstate/ls.h:137:58: note: use ‘this->erase’ instead
make: *** [linkstate/ls.o] Error 1
에서 포함!
NS2 프로젝트를 진행 중입니다. 설치시 큰 타격을 받았습니다.
에 다음과 같이 나는이 솔루션을 선호 : '이'대신베이스 맵을 사용하여 (즉,도 빌드 출력에 의해 제안)이 상황에서 더 나은 보인다. –