Skip to content
Snippets Groups Projects
Commit 5d685391 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

make code compile on jenkins

parent e9c78d5e
No related branches found
No related tags found
No related merge requests found
......@@ -213,13 +213,13 @@ public:
return m_Data;
}
 
void resize ( size_t size ) {
if ( size > m_Size ) {
void resize ( size_t newSize ) {
if ( newSize > m_Size ) {
// could be better
size_t added = ( size - m_Size ) / ( sizeof ( unsigned ) * 8 ) + 1;
size_t added = ( newSize - m_Size ) / ( sizeof ( unsigned ) * 8 ) + 1;
m_Data.push_back ( element { ( unsigned ) added, 0 } );
}
m_Size = size;
m_Size = newSize;
 
packData ( );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment