Skip to content

Commit

Permalink
Cast HybridVector to std::vector<> instead of std::vector<>&&. The la…
Browse files Browse the repository at this point in the history
…tter doesn't compile on Clang.
  • Loading branch information
poletti-marco committed Mar 26, 2016
1 parent ea234f7 commit 0d0e95a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalized_component_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ NormalizedComponentStorage::NormalizedComponentStorage(ComponentStorage&& compon
std::vector<std::pair<TypeId, BindingData>> bindings_vector(std::move(component.bindings));
InjectorStorage::normalizeBindings(bindings_vector,
fixed_size_allocator_data,
static_cast<std::vector<CompressedBinding>&&>(std::move(component.compressed_bindings)),
static_cast<std::vector<CompressedBinding>>(std::move(component.compressed_bindings)),
component.multibindings,
exposed_types,
bindingCompressionInfoMap);
Expand Down

0 comments on commit 0d0e95a

Please sign in to comment.