Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions cpp/Platform.Memory/FileMappedResizableDirectMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -63,7 +62,6 @@
Pointer() = nullptr;
}

// TODO: maybe use rvalue friend function
public: void Close()
{

Expand Down
1 change: 0 additions & 1 deletion cpp/Platform.Memory/IArrayMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
public:
//virtual TElement& operator[](std::size_t index) {}

// TODO: impl const
//virtual const TElement& operator[](std::size_t index) const {}
};
}
1 change: 0 additions & 1 deletion cpp/Platform.Memory/ResizableDirectMemoryBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@

if (value != _usedCapacity)
{
// TODO: Use modernize Ranges version
Ensure::Always::ArgumentInRange(value, Range(0, _reservedCapacity));
_usedCapacity = value;
}
Expand Down
Loading