#include <common/semaphore.h>
-#include <boost/lexical_cast.hpp>
#include <boost/property_tree/ptree.hpp>
#include <future>
std::wstring print() const override
{
if (self_channel_index_ != -1)
- return L"sync[" + boost::lexical_cast<std::wstring>(self_channel_index_) + L"]to[" + boost::lexical_cast<std::wstring>(other_channel_->index()) + L"]";
+ return L"sync[" + std::to_wstring(self_channel_index_) + L"]to[" + std::to_wstring(other_channel_->index()) + L"]";
else
- return L"syncto[" + boost::lexical_cast<std::wstring>(other_channel_->index()) + L"]";
+ return L"syncto[" + std::to_wstring(other_channel_->index()) + L"]";
}
std::wstring name() const override
if (params.size() < 1 || !boost::iequals(params.at(0), L"SYNCTO"))
return core::frame_consumer::empty();
- auto channel_id = boost::lexical_cast<int>(params.at(1));
+ auto channel_id = std::stoi(params.at(1));
auto channel = channels.at(channel_id - 1);
return spl::make_shared<syncto_consumer>(channel);