aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbpkg/manifest.hxx6
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;