debug output removed
This commit is contained in:
parent
bed4e7affa
commit
622c7a5a0d
@ -15,7 +15,6 @@ ConstStorageAccessor::ConstStorageAccessor(store_address_t storeId,
|
|||||||
|
|
||||||
ConstStorageAccessor::~ConstStorageAccessor() {
|
ConstStorageAccessor::~ConstStorageAccessor() {
|
||||||
if(deleteData and store != nullptr) {
|
if(deleteData and store != nullptr) {
|
||||||
sif::debug << "deleting store data" << std::endl;
|
|
||||||
store->deleteData(storeId);
|
store->deleteData(storeId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -59,7 +58,8 @@ ReturnValue_t ConstStorageAccessor::getDataCopy(uint8_t *pointer,
|
|||||||
return HasReturnvaluesIF::RETURN_FAILED;
|
return HasReturnvaluesIF::RETURN_FAILED;
|
||||||
}
|
}
|
||||||
if(size_ > maxSize) {
|
if(size_ > maxSize) {
|
||||||
sif::error << "StorageAccessor: Supplied buffer not large enough" << std::endl;
|
sif::error << "StorageAccessor: Supplied buffer not large enough"
|
||||||
|
<< std::endl;
|
||||||
return HasReturnvaluesIF::RETURN_FAILED;
|
return HasReturnvaluesIF::RETURN_FAILED;
|
||||||
}
|
}
|
||||||
std::copy(constDataPointer, constDataPointer + size_, pointer);
|
std::copy(constDataPointer, constDataPointer + size_, pointer);
|
||||||
|
Loading…
Reference in New Issue
Block a user