pineapple-src/externals/vcpkg/ports/docopt/001-fix-unresolved-symbol.patch
2022-07-23 03:01:36 +02:00

28 lines
733 B
Diff
Executable file

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 {