Introduce copy constructor and assignment operator for vk::raii classes that hold handles without a destructor.
This commit is contained in:
@@ -70,7 +70,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
{
|
||||
if ( desiredVersion <= pdh.getProperties().apiVersion )
|
||||
{
|
||||
desiredPhysicalDevices.push_back( std::move( pdh ) );
|
||||
desiredPhysicalDevices.push_back( pdh );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user