} else
return;
- if (byte_size_.type() == typeid(uint64_t))
- LOG_ERROR("type is %d byte size is %" PRIu64 "\n", type, boost::any_cast<uint64_t>(byte_size_));
- else LOG_ERROR("byte_size_ Type mismatch.");
+ if (byte_size_.type() != typeid(uint64_t))
+ LOG_ERROR("byte_size_ Type mismatch.");
- if (time_size_.type() == typeid(uint64_t))
- LOG_ERROR("type is %d time size is %" PRIu64 "\n", type, boost::any_cast<uint64_t>(time_size_));
- else LOG_ERROR("time_size_ Type mismatch.");
+ if (time_size_.type() != typeid(uint64_t))
+ LOG_ERROR("time_size_ Type mismatch.");
try {
*byte_size = boost::any_cast<std::uint64_t>(byte_size_);