Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
weberlo committed Nov 19, 2019
1 parent f110656 commit c9629a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/micro/micro_section_allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class MicroSectionAllocator {
* \note simple allocator scheme, more complex versions will be implemented later
*/
void Free(DevPtr addr) {
CHECK(alloc_map_.find(addr.value().val64) != alloc_map_.end()) << "freed pointer was never allocated";
CHECK(alloc_map_.find(addr.value().val64) != alloc_map_.end())
<< "freed pointer was never allocated";
alloc_map_.erase(addr.value().val64);
if (alloc_map_.empty()) {
size_ = 0;
Expand Down

0 comments on commit c9629a8

Please sign in to comment.