summaryrefslogtreecommitdiff
path: root/src/SingleFileAllocationIterator.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-21 17:42:27 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-21 17:42:27 +0900
commit8ba9b0474747185708a25943fb6d2f97b3d9b17f (patch)
treeb818f42fec013b058d063820ec53c6695943fb04 /src/SingleFileAllocationIterator.cc
parentf5ff5da9daa659f651710fa557d0973356fa84d6 (diff)
Cleanup for defines
Diffstat (limited to 'src/SingleFileAllocationIterator.cc')
-rw-r--r--src/SingleFileAllocationIterator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SingleFileAllocationIterator.cc b/src/SingleFileAllocationIterator.cc
index be31d820..c2aa16c7 100644
--- a/src/SingleFileAllocationIterator.cc
+++ b/src/SingleFileAllocationIterator.cc
@@ -45,8 +45,8 @@
namespace aria2 {
-#define BUFSIZE (256*1024)
-#define ALIGNMENT 512
+constexpr size_t BUFSIZE = 256 * 1024;
+constexpr size_t ALIGNMENT = 512;
SingleFileAllocationIterator::SingleFileAllocationIterator
(BinaryStream* stream,