diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-29 15:41:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-06-29 15:41:19 +0200 |
commit | d42b6ee1f6ffbcebde7d81dc34a1ba8a2a60ec58 (patch) | |
tree | d70772dfa23e910699b8ac5a86dffdf33dc23d93 | |
parent | bdb86456ec665f4367bc1caf52902a3a3a4fbbed (diff) |
Fix DLL-exporting issue
-rw-r--r-- | libbpkg/manifest.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
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; |