Skip to content

Commit

Permalink
Removed unnecessary explicit constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Aug 29, 2024
1 parent b07f269 commit fff9e0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/swapchain-msaa-triangle/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ struct Queues {
};

struct Gpu : vku::Gpu<QueueFamilies, Queues> {
explicit Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config<vk::PhysicalDeviceDynamicRenderingFeatures, vk::PhysicalDeviceSynchronization2Features> {
Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config<vk::PhysicalDeviceDynamicRenderingFeatures> {
.verbose = true,
.deviceExtensions = {
vk::KHRMultiviewExtensionName,
Expand Down
2 changes: 1 addition & 1 deletion test/swapchain-triangle/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ struct Queues {
};

struct Gpu : vku::Gpu<QueueFamilies, Queues> {
explicit Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
Gpu(const vk::raii::Instance &instance [[clang::lifetimebound]], vk::SurfaceKHR surface)
: vku::Gpu<QueueFamilies, Queues> { instance, vku::Gpu<QueueFamilies, Queues>::Config<vk::PhysicalDeviceDynamicRenderingFeatures> {
.verbose = true,
.deviceExtensions = {
Expand Down

0 comments on commit fff9e0c

Please sign in to comment.