diff --git a/components/document/value.hpp b/components/document/value.hpp index 21cdad9f..213999cd 100644 --- a/components/document/value.hpp +++ b/components/document/value.hpp @@ -71,7 +71,7 @@ namespace components::document { value_t::value_t(impl::base_document* tape, T value) { auto builder = tape_builder(*tape); element_ = tape->next_element(); - builder.build(value); + builder.build(static_cast(value)); } template