Fix compilation using C++17amule-svn-r11095
commite4cea5ce7d7e7649b277784874bc22481b7c826b
authorupstream svn <svn@amule.org>
Sat, 30 Jan 2021 14:04:28 +0000 (30 14:04 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Sun, 31 Jan 2021 08:58:39 +0000 (31 08:58 +0000)
tree2abe4196dc3398975001845497efd66e227025c1
parent86ada1d5c01931f1f521c987ca5e80642f617fbe
Fix compilation using C++17

The C++17 standard introduces std::byte, which is incompatible with the byte we used.
52 files changed:
.svn-revision
src/BaseClient.cpp
src/ClientCredits.cpp
src/ClientCredits.h
src/ClientCreditsList.cpp
src/ClientCreditsList.h
src/ClientList.cpp
src/ClientTCPSocket.cpp
src/ClientTCPSocket.h
src/ClientUDPSocket.cpp
src/ClientUDPSocket.h
src/DownloadClient.cpp
src/DownloadQueue.cpp
src/EMSocket.cpp
src/EMSocket.h
src/EncryptedStreamSocket.cpp
src/FileArea.cpp
src/FileArea.h
src/GapList.h
src/KnownFile.cpp
src/KnownFile.h
src/MemFile.cpp
src/MemFile.h
src/MuleColour.h
src/MuleUDPSocket.cpp
src/MuleUDPSocket.h
src/OtherFunctions.cpp
src/Packet.cpp
src/Packet.h
src/PartFile.cpp
src/PartFile.h
src/SHAHashSet.h
src/SafeFile.cpp
src/SearchList.cpp
src/SearchList.h
src/ServerList.cpp
src/ServerSocket.cpp
src/ServerSocket.h
src/ServerUDPSocket.cpp
src/ServerUDPSocket.h
src/Tag.cpp
src/Tag.h
src/ThreadTasks.cpp
src/Types.h
src/UploadClient.cpp
src/kademlia/kademlia/Kademlia.cpp
src/kademlia/net/KademliaUDPListener.cpp
src/libs/common/StringFunctions.cpp
src/updownclient.h
src/utils/fileview/KadFiles.cpp
unittests/tests/CTagTest.cpp
unittests/tests/FileDataIOTest.cpp