diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-10 20:36:49 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-21 19:05:50 +0900 |
| commit | 73da215882d7f96b6010fa99361c7cc10ec18bfb (patch) | |
| tree | cea1a5016a94a9dac26cab8227e2513224288be3 /src/libktorrent/torrent/peerid.cpp | |
| parent | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (diff) | |
| download | ktorrent-73da2158.tar.gz ktorrent-73da2158.zip | |
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bf204e931c605c73d761ec84943bb0cc94d7e7e4)
Diffstat (limited to 'src/libktorrent/torrent/peerid.cpp')
| -rw-r--r-- | src/libktorrent/torrent/peerid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libktorrent/torrent/peerid.cpp b/src/libktorrent/torrent/peerid.cpp index f15d5f2..66e9533 100644 --- a/src/libktorrent/torrent/peerid.cpp +++ b/src/libktorrent/torrent/peerid.cpp @@ -74,7 +74,7 @@ namespace bt return *this; } - bool operator == (const PeerID & a,const PeerID & b) + LIBKTORRENT_EXPORT bool operator == (const PeerID & a,const PeerID & b) { for (int i = 0;i < 20;i++) if (a.id[i] != b.id[i]) @@ -83,12 +83,12 @@ namespace bt return true; } - bool operator != (const PeerID & a,const PeerID & b) + LIBKTORRENT_EXPORT bool operator != (const PeerID & a,const PeerID & b) { return ! operator == (a,b); } - bool operator < (const PeerID & a,const PeerID & b) + LIBKTORRENT_EXPORT bool operator < (const PeerID & a,const PeerID & b) { for (int i = 0;i < 20;i++) if (a.id[i] < b.id[i]) |
