vcpkg/ports/docopt/001-fix-unresolved-symbol.patch
myd7349 d45c9779a7 [docopt] Add new port to fix ()
* [docopt] Add docopt.cpp to fix 

* [docopt] Cleanup

* [docopt] Disable vcpkg_test_cmake due to misbehavior on x64

* [docopt] Install only one flavor (static/shared)
2018-10-17 11:52:23 -07:00

29 lines
733 B
Diff

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 {