From ded92a5d2a2f89506e27c6b1d83151ce77a8a66e Mon Sep 17 00:00:00 2001 From: Vlad Sytchenko Date: Tue, 28 Apr 2020 16:42:13 -0400 Subject: [PATCH] Fix order initialization warning Change-Id: I77ddf1dbec2d11c273163efae6526d3deca92dbf --- vdi/hip_internal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vdi/hip_internal.hpp b/vdi/hip_internal.hpp index 529ca7abdb..c0ced2e8a3 100644 --- a/vdi/hip_internal.hpp +++ b/vdi/hip_internal.hpp @@ -109,11 +109,11 @@ namespace hip { amd::Monitor lock_{"Device lock"}; /// VDI context amd::Context* context_; - /// VDI host queue for default streams - Stream null_stream_; /// Device's ID /// Store it here so we don't have to loop through the device list every time int deviceId_; + /// VDI host queue for default streams + Stream null_stream_; //Maintain list of user enabled peers std::list userEnabledPeers;