diff options
author | bd <bdunahu@operationnull.com> | 2025-03-11 10:50:11 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-11 10:50:11 -0400 |
commit | ceff6a4d11b93130b9b1f13c1ce8e51490ffd188 (patch) | |
tree | 68ed796714aee612e7e244c2672326e586f2795b /src/storage/cache.cc | |
parent | 11182ea41cc5f453b06d769dea6e157aa9c3cf86 (diff) |
fix namespace issues with match function
Diffstat (limited to 'src/storage/cache.cc')
-rw-r--r-- | src/storage/cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc index d382c3d..1a8a10b 100644 --- a/src/storage/cache.cc +++ b/src/storage/cache.cc @@ -104,7 +104,7 @@ std::ostream &operator<<(std::ostream &os, const Cache &c) << " | " << std::setfill(' ') << std::setw((8 + 3) * 4 - 1) << "DATA" << " | " << std::setfill(' ') << std::setw(MEM_SPEC - LINE_SPEC - L1_CACHE_SPEC + 2) << "TAG" - << " | D\n"; + << " | D" << std::endl; for (int i = 0; i < L1_CACHE_SIZE; ++i) { os << " 0b" << std::setw(L1_CACHE_SPEC) << std::bitset<L1_CACHE_SPEC>(i) << " | "; @@ -114,7 +114,7 @@ std::ostream &operator<<(std::ostream &os, const Cache &c) } os << "| 0x" << std::setfill(' ') << std::bitset<MEM_SPEC - LINE_SPEC - L1_CACHE_SPEC>(meta.at(i)[0]) - << " | " << (int)(meta.at(i)[0] >= 0) << '\n'; + << " | " << (int)(meta.at(i)[0] >= 0) << std::endl; } std::cout.flags(default_flags); |