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:
Paweł Bylica 2019-05-14 10:30:31 +02:00
parent 60c666a612
commit 577340763c
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 4 additions and 0 deletions

View File

@ -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"