Introduce ArrayWrapper?D, replacing ConstExpression?DArrayCopy
+ no explicit copy constructor of structs needed any more + removed assignment operator of structs that don't hold a const sType member (for those, we still need the assignment operator!) + simplified operator==() of structs (pre C++20) + resolved some 32bit warnings
This commit is contained in:
committed by
Markus Tavenrath
parent
b7310d6c19
commit
0ea8a527ba
@@ -127,7 +127,7 @@ int main(int /*argc*/, char ** /*argv*/)
|
||||
{
|
||||
// Determine cache size
|
||||
readCacheStream.seekg(0, readCacheStream.end);
|
||||
startCacheSize = readCacheStream.tellg();
|
||||
startCacheSize = vk::su::checked_cast<size_t>(readCacheStream.tellg());
|
||||
readCacheStream.seekg(0, readCacheStream.beg);
|
||||
|
||||
// Allocate memory to hold the initial cache data
|
||||
|
||||
Reference in New Issue
Block a user