This commit is contained in:
Alexey Milovidov 2013-02-20 23:25:28 +00:00
parent 77026f581f
commit 7d180f9e71

View File

@ -28,7 +28,7 @@ Block MemoryBlockInputStream::readImpl()
MemoryBlockOutputStream::MemoryBlockOutputStream(StoragePtr owned_storage)
: IBlockOutputStream(owned_storage), storage(reinterpret_cast<StorageMemory &>(owned_storage))
: IBlockOutputStream(owned_storage), storage(dynamic_cast<StorageMemory &>(*owned_storage))
{
}