diff options
| author | Zhang Xiang <gbcatmifu@hotmail.com> | 2021-04-22 15:35:29 +0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2021-04-29 09:12:47 +0000 |
| commit | 675a4b0cc77a81d92cea6e044200349676f3b117 (patch) | |
| tree | de55d8a2899319adf2684d2b1ee39f5dfbbccfd8 /src/network/access/qhttpnetworkrequest.cpp | |
| parent | 627542c84121aab7723c6126269b2b6c0287e15a (diff) | |
| download | qtbase-675a4b0cc77a81d92cea6e044200349676f3b117.tar.gz | |
Fix namespace error of std::source_location under C++20
With C++20 standard, src/corelib/kernel/qproperty.h of Qt Base cannot be
compiled at line 100:
QPropertyBindingSourceLocation(
const std::experimental::source_location &cppLocation
)
The reason is that source_location has been merged into namespace std
since C++20, and the header file has also been change from
<experimental/source_location> to <source_location>.
The problem can be avoided by define a constant.
Fixes: QTBUG-93270
Change-Id: I46b4daac6ea20f9623b43746880500d41396afb2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/network/access/qhttpnetworkrequest.cpp')
0 files changed, 0 insertions, 0 deletions
