소스 검색

Fix compile error with clang

Tatsuhiro Tsujikawa 12 년 전
부모
커밋
6bcf33a69e
3개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/ConnectCommand.h
  2. 2 2
      src/IndexedList.h
  3. 1 1
      src/InitiateConnectionCommand.h

+ 1 - 1
src/ConnectCommand.h

@@ -40,7 +40,7 @@
 
 namespace aria2 {
 
-class BackupConnectInfo;
+struct BackupConnectInfo;
 
 class ConnectCommand : public AbstractCommand {
 public:

+ 2 - 2
src/IndexedList.h

@@ -64,8 +64,8 @@ struct IndexedListIterator {
   typedef ValueType value_type;
   typedef PointerType pointer;
   typedef ReferenceType reference;
-  typedef typename SeqIteratorType::size_type size_type;
-  typedef typename SeqIteratorType::difference_type difference_type;
+  typedef typename SeqType::size_type size_type;
+  typedef typename SeqType::difference_type difference_type;
   typedef IndexedListIterator SelfType;
 
   IndexedListIterator() {}

+ 1 - 1
src/InitiateConnectionCommand.h

@@ -39,7 +39,7 @@
 
 namespace aria2 {
 
-class BackupConnectInfo;
+struct BackupConnectInfo;
 class ConnectCommand;
 
 class InitiateConnectionCommand : public AbstractCommand {