Skip to content

Commit

Permalink
Add shrink_to_fit as no op
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-de-water committed Jan 23, 2020
1 parent 10b0343 commit 276e399
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/lingo/string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,11 @@ namespace lingo
return _storage.capacity();
}

void shrink_to_fit()
{
// TODO: actually shrink
}

bool empty() const noexcept
{
return size() == 0;
Expand Down

0 comments on commit 276e399

Please sign in to comment.