summaryrefslogtreecommitdiffstats
path: root/libktorrent
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:46:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-24 10:46:40 +0900
commit6458ac1fee48f77706492026f50f2efb179ec827 (patch)
treef8a8601c317b259b72e8bd564a58e3037dc8eba4 /libktorrent
parent0dbebe693d509d0c442ab3c95f9c3885dc136e2d (diff)
downloadktorrent-6458ac1fee48f77706492026f50f2efb179ec827.tar.gz
ktorrent-6458ac1fee48f77706492026f50f2efb179ec827.zip
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libktorrent')
-rw-r--r--libktorrent/net/speed.cpp2
-rw-r--r--libktorrent/torrent/speedestimater.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/net/speed.cpp b/libktorrent/net/speed.cpp
index 35fde9d..e4328fc 100644
--- a/libktorrent/net/speed.cpp
+++ b/libktorrent/net/speed.cpp
@@ -37,7 +37,7 @@ namespace net
void Speed::onData(Uint32 b,bt::TimeStamp ts)
{
- dlrate.append(tqMakePair(b,ts));
+ dlrate.append(qMakePair(b,ts));
bytes += b;
}
diff --git a/libktorrent/torrent/speedestimater.cpp b/libktorrent/torrent/speedestimater.cpp
index a0b67da..7752999 100644
--- a/libktorrent/torrent/speedestimater.cpp
+++ b/libktorrent/torrent/speedestimater.cpp
@@ -36,7 +36,7 @@ namespace bt
void data(Uint32 bytes)
{
- dlrate.append(tqMakePair(bytes,GetCurrentTime()));
+ dlrate.append(qMakePair(bytes,GetCurrentTime()));
}
void update()