diff options
-rw-r--r-- | bpkg/package.hxx | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index ab0d144..6b19203 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -44,9 +44,10 @@ namespace bpkg } }; + using optional_string = optional<string>; + // path // - using optional_string = optional<string>; using optional_path = optional<path>; using optional_dir_path = optional<dir_path>; @@ -1364,6 +1365,16 @@ namespace bpkg */ } +// Workaround for GCC __is_invocable/non-constant condition bug (#86441). +// +#ifdef ODB_COMPILER +namespace std +{ + template class map<bpkg::available_package::_dependency_key, + bpkg::dependency>; +} +#endif + #include <bpkg/package.ixx> #endif // BPKG_PACKAGE_HXX |