2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Code cleanup
	* test/MockPieceStorage.cc
This commit is contained in:
Tatsuhiro Tsujikawa 2009-05-03 11:01:52 +00:00
parent eeece05063
commit 717fa2a855
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Code cleanup
* test/MockPieceStorage.cc
2009-05-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the bug that read-only file with wrong file size will cause

View File

@ -181,7 +181,7 @@ public:
return diskAdaptor;
}
void setDiskAdaptor(const SharedHandle<DiskAdaptor> adaptor) {
void setDiskAdaptor(const SharedHandle<DiskAdaptor>& adaptor) {
this->diskAdaptor = adaptor;
}