aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorKevin Lalumiere <klalumiere@coveo.com>2020-12-17 03:20:34 -0500
committerGitHub <noreply@github.com>2020-12-17 00:20:34 -0800
commita268c5a7f1aa0e933924bc09d48d92f0120769e5 (patch)
treed5ba45f9ab69b3a4235f5a6d10d188a9bbb78d9e /toolsrc/include
parent5d41154c4284209706b124baeac6a523ba667ec0 (diff)
downloadvcpkg-a268c5a7f1aa0e933924bc09d48d92f0120769e5.tar.gz
vcpkg-a268c5a7f1aa0e933924bc09d48d92f0120769e5.zip
[vcpkg] Fix warning (as error) when building vcpgk/toolsrc with clang++ 10 or g++ 9.3 (see #15148) (#15149)
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/portfileprovider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/portfileprovider.h b/toolsrc/include/vcpkg/portfileprovider.h
index 9dbd5ec51..b93c58e8c 100644
--- a/toolsrc/include/vcpkg/portfileprovider.h
+++ b/toolsrc/include/vcpkg/portfileprovider.h
@@ -12,6 +12,7 @@ namespace vcpkg::PortFileProvider
{
struct PortFileProvider
{
+ virtual ~PortFileProvider() = default;
virtual ExpectedS<const SourceControlFileLocation&> get_control_file(const std::string& src_name) const = 0;
virtual std::vector<const SourceControlFileLocation*> load_all_control_files() const = 0;
};