From d42b6ee1f6ffbcebde7d81dc34a1ba8a2a60ec58 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Jun 2020 15:41:19 +0200 Subject: Fix DLL-exporting issue --- libbpkg/manifest.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libbpkg/manifest.hxx') diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index fd528cd..dfb8762 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -276,14 +276,16 @@ namespace bpkg // // See libbutl/url.mxx for details. // - class LIBBPKG_EXPORT manifest_url: public butl::url + // NOTE: this class must not be DLL-exported wholesale (non-exported base). + // + class manifest_url: public butl::url { public: std::string comment; // Throw invalid_argument on parsing or constraints checking error. // - explicit + explicit LIBBPKG_EXPORT manifest_url (const std::string& u, std::string c = ""); manifest_url () = default; -- cgit v1.1