Commit fc62eeb8 authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

some corrections to make clang happy

parent e4f54203
......@@ -229,7 +229,7 @@ class NullBackend : public Backend {
virtual RequestResult<size_t> size(
const std::string& coll_name) override {
RequestResult<uint64_t> result;
RequestResult<size_t> result;
result.value() = 0;
result.success() = true;
return result;
......
......@@ -708,7 +708,7 @@ class ProviderImpl : public tl::provider<ProviderImpl> {
spdlog::trace("[provider:{}] Received size request", id());
spdlog::trace("[provider:{}] => database = {}", id(), db_name);
spdlog::trace("[provider:{}] => collection = {}", id(), coll_name);
RequestResult<uint64_t> result;
RequestResult<size_t> result;
FIND_DATABASE(db);
result = db->size(coll_name);
req.respond(result);
......
......@@ -190,7 +190,7 @@ class UnQLiteValue {
UnQLiteValue(const Null&, unqlite_context* ctx)
: m_ctx(ctx)
, m_value(unqlite_context_new_scalar(m_ctx)) {
, m_value(unqlite_context_new_scalar(ctx)) {
unqlite_value_null(m_value);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment