mirror of https://github.com/status-im/evmc.git
cpp: Include <vector> to show MSVC compilation error
This is related to misuse of `std::swap<evmc_result>`. We should not use explicit template arguments, because this disabled SFINAE and forces instantiation of all overloads.
This commit is contained in:
parent
60c666a612
commit
577340763c
|
@ -2,6 +2,10 @@
|
|||
// Copyright 2018-2019 The EVMC Authors.
|
||||
// Licensed under the Apache License, Version 2.0.
|
||||
|
||||
// The vector is not used here, but including it was causing compilation issues
|
||||
// previously related to using explicit template argument (SFINAE disabled).
|
||||
#include <vector>
|
||||
|
||||
#include "../../examples/example_host.h"
|
||||
#include "../../examples/example_vm.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue