Use "= default" to denote default constructor or destructor
[WebKit-https.git] / Source / WebCore / html / canvas / WebGPUComputeCommandEncoder.cpp
index 36fee00..3d55ee5 100644 (file)
@@ -54,9 +54,7 @@ WebGPUComputeCommandEncoder::WebGPUComputeCommandEncoder(WebGPURenderingContext*
     m_computeCommandEncoder = buffer->commandBuffer()->createComputeCommandEncoder();
 }
     
-WebGPUComputeCommandEncoder::~WebGPUComputeCommandEncoder()
-{
-}
+WebGPUComputeCommandEncoder::~WebGPUComputeCommandEncoder() = default;
     
 void WebGPUComputeCommandEncoder::setComputePipelineState(WebGPUComputePipelineState& pipelineState)
 {