mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-19 20:20:00 +01:00
doc: Adjust stale MSVC bug url
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// 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
|
||||
// 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
|
||||
// initializer lists.
|
||||
// A fix may be on the way:
|
||||
// https://developercommunity.visualstudio.com/t/consteval-conversion-function-fails/1579014
|
||||
// https://developercommunity.visualstudio.com/t/Bogus-C7595-error-on-valid-C20-code/10906093
|
||||
#if defined(_MSC_VER)
|
||||
auto consteval_ctor(auto&& input) { return input; }
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user