mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-21 07:28:21 -04:00
28 lines
585 B
C++
28 lines
585 B
C++
#include "QueryThreadRemove.hpp"
|
|
|
|
using namespace std::string_literals;
|
|
|
|
namespace db::query
|
|
{
|
|
ThreadRemove::ThreadRemove(unsigned int _id) : Query{Query::Type::Delete}, id{_id}
|
|
{}
|
|
|
|
std::string ThreadRemove::debugInfo() const
|
|
{
|
|
return "ThreadRemove"s;
|
|
}
|
|
|
|
ThreadRemoveResult::ThreadRemoveResult(bool _result) : result{_result}
|
|
{}
|
|
|
|
bool ThreadRemoveResult::success() const noexcept
|
|
{
|
|
return result;
|
|
}
|
|
|
|
std::string ThreadRemoveResult::debugInfo() const
|
|
{
|
|
return "ThreadRemoveResult"s;
|
|
}
|
|
} // namespace db::query
|