chore: remove obsolete TODO comments

This commit is contained in:
Stanislav Angelovič
2023-10-31 15:54:49 +01:00
parent b7b454ba38
commit 9da18aec25
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ namespace sdbus {
Variant();
template <typename _ValueType>
/*explicit*/ Variant(const _ValueType& value) // TODO: Mark explicit in new major version so we don't break client code within v1
Variant(const _ValueType& value)
: Variant()
{
msg_.openVariant(signature_of<_ValueType>::str());

View File

@ -143,7 +143,7 @@ std::future<MethodReply> Proxy::callMethod(const MethodCall& message, uint64_t t
async_reply_handler asyncReplyCallback = [promise = std::move(promise)](MethodReply& reply, const Error* error) noexcept
{
if (error == nullptr)
promise->set_value(reply); // TODO: std::move? Can't move now because currently processed message. TODO: Refactor
promise->set_value(reply);
else
promise->set_exception(std::make_exception_ptr(*error));
};