mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-06 11:22:52 +08:00
5edd518dc3
* [macos ci] update to 2022-01-03 * update the instructions * forgot to update azure-pipelines-osx.yml * install parallels in Install-Prerequisites.ps1 * oops * fix ace, libsoundio, and libpqxx * tensorflow doesn't yet support macOS 12
16 lines
468 B
Diff
16 lines
468 B
Diff
# apple clang 13 has a bug where [[likely]] or [[unlikely]] returns
|
|
# don't count for checking that a constexpr function has a return,
|
|
# so at least one return must be unmarked
|
|
--- a/src/robusttransaction.cxx
|
|
+++ b/src/robusttransaction.cxx
|
|
@@ -62,9 +62,8 @@ constexpr tx_stat parse_status(std::string_view text) noexcept
|
|
case 'i':
|
|
if (text == in_progress)
|
|
PQXX_LIKELY return tx_in_progress;
|
|
break;
|
|
}
|
|
- PQXX_UNLIKELY
|
|
return tx_unknown;
|
|
}
|
|
|