From 215853fd5402ec488e1bc6dd297c17809585d76e Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Sun, 29 Aug 2021 13:58:48 -0400 Subject: [PATCH] SWDEV-298985 - Calm down build warnings This resolves -Wreorder warning. Change-Id: I28851d66e19a70c4851ac056819d2daadbdc7113 --- rocclr/platform/command.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/platform/command.hpp b/rocclr/platform/command.hpp index 780a8309ce..abb7f3b96a 100644 --- a/rocclr/platform/command.hpp +++ b/rocclr/platform/command.hpp @@ -1521,7 +1521,7 @@ class SvmPrefetchAsyncCommand : public Command { SvmPrefetchAsyncCommand(HostQueue& queue, const EventWaitList& eventWaitList, const void* dev_ptr, size_t count, amd::Device* dev, bool cpu_access) : Command(queue, 1, eventWaitList), dev_ptr_(dev_ptr), count_(count), - dev_(dev), cpu_access_(cpu_access) {} + cpu_access_(cpu_access), dev_(dev) {} virtual void submit(device::VirtualDevice& device) { device.submitSvmPrefetchAsync(*this); }