diff --git a/src/platform/linux/cuda.cpp b/src/platform/linux/cuda.cpp index afb95d83894..10a858cc8cc 100644 --- a/src/platform/linux/cuda.cpp +++ b/src/platform/linux/cuda.cpp @@ -574,7 +574,7 @@ namespace cuda { if (func.nvFBCBindContext(handle, ¶ms)) { BOOST_LOG(error) << "Couldn't bind NvFBC context to current thread: " << func.nvFBCGetLastErrorStr(handle); } - BOOST_LOG(error) << "Bound context"sv; + this->handle = handle; } @@ -584,7 +584,7 @@ namespace cuda { if (func.nvFBCReleaseContext(handle, ¶ms)) { BOOST_LOG(error) << "Couldn't release NvFBC context from current thread: " << func.nvFBCGetLastErrorStr(handle); } - BOOST_LOG(error) << "Released context"sv; + } NVFBC_SESSION_HANDLE handle;