Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
ihhub committed Mar 18, 2024
1 parent 65b29c9 commit 6bc6088
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/opencl/opencl_memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ namespace multiCL
throw std::logic_error( "Cannot allocate a subbuffer memory for OpenCL device" );
}

_allocatedChunk.emplace(
memory, std::pair<size_t, uint8_t>( *( _freeChunk[level].begin() ), level ) );
_allocatedChunk.emplace( memory, std::pair<size_t, uint8_t>( *( _freeChunk[level].begin() ), level ) );
_freeChunk[level].erase( _freeChunk[level].begin() );
return memory;
}
Expand Down

0 comments on commit 6bc6088

Please sign in to comment.