[Mesa-dev] [PATCH] amdgpu/addrlib: use initialization list in addrobject
Mystro256
alexjnewt at hotmail.com
Sun Jul 23 16:24:27 UTC 2017
---
src/amd/addrlib/core/addrobject.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/amd/addrlib/core/addrobject.cpp b/src/amd/addrlib/core/addrobject.cpp
index dcdb1bf..ee2d9a9 100644
--- a/src/amd/addrlib/core/addrobject.cpp
+++ b/src/amd/addrlib/core/addrobject.cpp
@@ -61,9 +61,9 @@ Object::Object()
* Constructor for the Object class.
****************************************************************************************************
*/
-Object::Object(const Client* pClient)
+Object::Object(const Client* pClient):
+ m_client (*pClient)
{
- m_client = *pClient;
}
/**
--
2.9.4
More information about the mesa-dev
mailing list