diff --git a/tests/kfdtest/src/KFDTestUtilQueue.cpp b/tests/kfdtest/src/KFDTestUtilQueue.cpp index b6604287cf..46c88cf702 100644 --- a/tests/kfdtest/src/KFDTestUtilQueue.cpp +++ b/tests/kfdtest/src/KFDTestUtilQueue.cpp @@ -323,7 +323,7 @@ class AsyncMPMQ { * SDMA queue helper functions. */ -bool sort_SDMACopyParams(SDMACopyParams &a1, SDMACopyParams &a2) { +bool sort_SDMACopyParams(const SDMACopyParams &a1, const SDMACopyParams &a2) { if (a1.node != a2.node) return a1.node < a2.node; return a1.group < a2.group;