게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
c++에러가 나는데 알려주세요 .ㅠ
게시물ID : programmer_1057짧은주소 복사하기
작성자 : 망량
추천 : 0
조회수 : 766회
댓글수 : 18개
등록시간 : 2014/02/06 18:19:31
이 함수 실행시

Ptr<WifiNetDevice> iface = CreateInterface (phyHelper, node, channel);
m_ifaces.push_back(iface); 

아래에 이런 에러가 발생하는데 왜 이러는 걸까요 ? ㅠ

error: passing ‘const std::vector<ns3::Ptr<ns3::NetDevice> >’ as ‘this’ argument of ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ns3::Ptr<ns3::NetDevice>, _Alloc = std::allocator<ns3::Ptr<ns3::NetDevice> >, std::vector<_Tp, _Alloc>::value_type = ns3::Ptr<ns3::NetDevice>]’ discards qualifiers [-fpermissive]ㅠ



꼬릿말 보기
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호