소스 검색

Fix unitest compile error

Tatsuhiro Tsujikawa 12 년 전
부모
커밋
abcb0745ed
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/RequestSlot.h

+ 4 - 0
src/RequestSlot.h

@@ -51,6 +51,10 @@ public:
       piece_(piece)
   {}
 
+  RequestSlot():dispatchedTime_(0), index_(0), begin_(0), length_(0),
+                blockIndex_(0)
+  {}
+
   bool operator==(const RequestSlot& requestSlot) const
   {
     return index_ == requestSlot.index_ && begin_ == requestSlot.begin_