pineapple/externals/vcpkg/ports/docopt/001-fix-unresolved-symbol.patch

29 lines
733 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/docopt.h b/docopt.h
index 4c40741..06a04f8 100644
--- a/docopt.h
+++ b/docopt.h
@@ -85,6 +85,9 @@ namespace docopt {
bool help = true,
std::string const& version = {},
bool options_first = false) noexcept;
+
+ /// Write out the contents to the ostream
+ std::ostream DOCOPT_API & operator<<(std::ostream&, value const&);
}
#ifdef DOCOPT_HEADER_ONLY
diff --git a/docopt_value.h b/docopt_value.h
index a923219..7f0d6d6 100644
--- a/docopt_value.h
+++ b/docopt_value.h
@@ -102,9 +102,6 @@ namespace docopt {
Kind kind = Kind::Empty;
Variant variant {};
};
-
- /// Write out the contents to the ostream
- std::ostream& operator<<(std::ostream&, value const&);
}
namespace std {