diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-21 17:42:27 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-06-21 17:42:27 +0900 |
| commit | 8ba9b0474747185708a25943fb6d2f97b3d9b17f (patch) | |
| tree | b818f42fec013b058d063820ec53c6695943fb04 /src/SingleFileAllocationIterator.cc | |
| parent | f5ff5da9daa659f651710fa557d0973356fa84d6 (diff) | |
Cleanup for defines
Diffstat (limited to 'src/SingleFileAllocationIterator.cc')
| -rw-r--r-- | src/SingleFileAllocationIterator.cc | 4 |
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, |
