Specify interface requirements as an C++ concept

PR #19440.
This commit is contained in:
Chocobo1
2023-08-12 20:53:03 +08:00
committed by GitHub
parent 850da9dd83
commit 69d60b5f1c
10 changed files with 144 additions and 28 deletions

View File

@@ -40,6 +40,7 @@ add_library(qbt_base STATIC
bittorrent/torrentinfo.h
bittorrent/tracker.h
bittorrent/trackerentry.h
concepts/stringable.h
digest32.h
exceptions.h
global.h
@@ -54,7 +55,6 @@ add_library(qbt_base STATIC
iconprovider.h
indexrange.h
interfaces/iapplication.h
interfaces/istringable.h
logger.h
net/dnsupdater.h
net/downloadhandlerimpl.h
@@ -187,6 +187,7 @@ add_library(qbt_base STATIC
utils/random.cpp
utils/string.cpp
utils/thread.cpp
utils/version.cpp
)
target_link_libraries(qbt_base