From bb26e99c735ca49b88ff23215c80faf89c828650 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 6 Feb 2020 12:04:50 -0600 Subject: [PATCH] Fix compile error --- hipamd/src/program_state.inl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hipamd/src/program_state.inl b/hipamd/src/program_state.inl index 8df0f1cc0f..0442874900 100644 --- a/hipamd/src/program_state.inl +++ b/hipamd/src/program_state.inl @@ -419,8 +419,7 @@ public: decltype(code_readers.second)::iterator it; { std::lock_guard lck{code_readers.first}; - it = code_readers.second.emplace_back(code_readers.second.end(), - move(file), move(tmp)); + it = code_readers.second.emplace_back(move(file), move(tmp)); } auto check_hsa_error = [](hsa_status_t s) {