Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0391054e authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by android-build-merger
Browse files

Merge "Fix google-explicit-constructor warnings in vulkan."

am: 476e5178

Change-Id: Ide2fd3dd74375a1a7cf32f899d7307b42f805567
parents 04f46f03 476e5178
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -85,9 +85,9 @@ class DebugReportCallbackList {

class DebugReportLogger {
   public:
    DebugReportLogger(const VkInstanceCreateInfo& info)
    explicit DebugReportLogger(const VkInstanceCreateInfo& info)
        : instance_pnext_(info.pNext), callbacks_(nullptr) {}
    DebugReportLogger(const DebugReportCallbackList& callbacks)
    explicit DebugReportLogger(const DebugReportCallbackList& callbacks)
        : instance_pnext_(nullptr), callbacks_(&callbacks) {}

    void Message(VkDebugReportFlagsEXT flags,
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ VK_DEFINE_HANDLE(InstanceDispatchable)
VK_DEFINE_HANDLE(DeviceDispatchable)

struct InstanceData {
    InstanceData(const VkAllocationCallbacks& alloc)
    explicit InstanceData(const VkAllocationCallbacks& alloc)
        : opaque_api_data(),
          allocator(alloc),
          driver(),
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ struct Layer;

class LayerRef {
   public:
    LayerRef(const Layer* layer);
    explicit LayerRef(const Layer* layer);
    LayerRef(LayerRef&& other);
    ~LayerRef();
    LayerRef(const LayerRef&) = delete;