diff --git a/cpp/Platform.Memory/FileMappedResizableDirectMemory.h b/cpp/Platform.Memory/FileMappedResizableDirectMemory.h index efcd89c..64d076e 100644 --- a/cpp/Platform.Memory/FileMappedResizableDirectMemory.h +++ b/cpp/Platform.Memory/FileMappedResizableDirectMemory.h @@ -32,7 +32,6 @@ } Path = path; auto size = std::filesystem::file_size(Path); - // TODO: cringe ReservedCapacity(size > minimumReservedCapacity ? ((size / minimumReservedCapacity) + 1) * minimumReservedCapacity : minimumReservedCapacity); UsedCapacity(size); } @@ -63,7 +62,6 @@ Pointer() = nullptr; } - // TODO: maybe use rvalue friend function public: void Close() { diff --git a/cpp/Platform.Memory/IArrayMemory.h b/cpp/Platform.Memory/IArrayMemory.h index 3bf6013..69761fc 100644 --- a/cpp/Platform.Memory/IArrayMemory.h +++ b/cpp/Platform.Memory/IArrayMemory.h @@ -6,7 +6,6 @@ public: //virtual TElement& operator[](std::size_t index) {} - // TODO: impl const //virtual const TElement& operator[](std::size_t index) const {} }; } diff --git a/cpp/Platform.Memory/ResizableDirectMemoryBase.h b/cpp/Platform.Memory/ResizableDirectMemoryBase.h index 1e24ea2..2e77bd7 100644 --- a/cpp/Platform.Memory/ResizableDirectMemoryBase.h +++ b/cpp/Platform.Memory/ResizableDirectMemoryBase.h @@ -75,7 +75,6 @@ if (value != _usedCapacity) { - // TODO: Use modernize Ranges version Ensure::Always::ArgumentInRange(value, Range(0, _reservedCapacity)); _usedCapacity = value; }