Tatsuhiro Tsujikawa 12 лет назад
Родитель
Сommit
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 {