diff --git a/test.cpp b/test.cpp index 186ee853..0ccd1ab4 100644 --- a/test.cpp +++ b/test.cpp @@ -524,7 +524,9 @@ void DigestFile(const char *filename) filters[4].reset(new HashFilter(sha512)); filters[5].reset(new HashFilter(whirlpool)); + using CryptoPP::auto_ptr; auto_ptr channelSwitch(new ChannelSwitch); + size_t i; for (i=0; iAddDefaultRoute(*filters[i]);