cid#318867 Using a moved object

probably went astray with:

commit 52f2600cf9
Date:   Wed Feb 16 17:22:18 2022 -0500

    wsd: test: embue all tests with a name and unify logs

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Idf4f9bfce7ef188ac15a7cf62baadc3dd5b59dcd
This commit is contained in:
Caolán McNamara 2023-06-09 21:59:23 +01:00 committed by Miklos Vajna
parent 53e4209377
commit b68634db9a

View file

@ -187,7 +187,7 @@ SocketPoll::SocketPoll(std::string threadName)
#endif
)
{
throw std::runtime_error("Failed to allocate pipe for SocketPoll [" + threadName + "] waking.");
throw std::runtime_error("Failed to allocate pipe for SocketPoll [" + _name + "] waking.");
}
LOG_DBG("New SocketPoll [" << _name << "] owned by " << Log::to_string(_owner));