doc: Adjust stale MSVC bug url
This commit is contained in:
1 file changed
+2
-3
@@ -1,5 +1,5 @@
|
|||||||
// Copyright (c) 2010 Satoshi Nakamoto
|
// Copyright (c) 2010 Satoshi Nakamoto
|
||||||
// Copyright (c) 2009-2021 The Bitcoin Core developers
|
// Copyright (c) 2009-present The Bitcoin Core developers
|
||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
@@ -30,8 +30,7 @@ using namespace util::hex_literals;
|
|||||||
|
|
||||||
// Workaround MSVC bug triggering C7595 when calling consteval constructors in
|
// Workaround MSVC bug triggering C7595 when calling consteval constructors in
|
||||||
// initializer lists.
|
// initializer lists.
|
||||||
// A fix may be on the way:
|
// https://developercommunity.visualstudio.com/t/Bogus-C7595-error-on-valid-C20-code/10906093
|
||||||
// https://developercommunity.visualstudio.com/t/consteval-conversion-function-fails/1579014
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
auto consteval_ctor(auto&& input) { return input; }
|
auto consteval_ctor(auto&& input) { return input; }
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in new issue
Block a user