[ion/storage] Add TODO about code optimization

This commit is contained in:
Léa Saviot
2019-12-03 17:31:36 +01:00
parent c1b792c23d
commit 4ffcace024

View File

@@ -114,6 +114,8 @@ void Storage::log() {
#endif
size_t Storage::availableSize() {
/* TODO maybe do: availableSize(char ** endBuffer) to get the endBuffer if it
* is needed after calling availableSize */
return k_storageSize-(endBuffer()-m_buffer)-sizeof(record_size_t);
}