#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/range/algorithm/equal.hpp>
-#include <boost/lexical_cast.hpp>
#include <boost/property_tree/ptree.hpp>
#include <map>
if (channel_order.size() > num_channels)
CASPAR_THROW_EXCEPTION(invalid_argument() << msg_info(
- channel_order_ + L" contains more than " + boost::lexical_cast<std::wstring>(num_channels)));
+ channel_order_ + L" contains more than " + std::to_wstring(num_channels)));
}
std::vector<int> audio_channel_layout::indexes_of(const std::wstring& channel_name) const
{
auto channels = boost::join(channel_order, L" ");
- return L"[audio_channel_layout] num_channels=" + boost::lexical_cast<std::wstring>(num_channels) + L" type=" + type + L" channel_order=" + channels;
+ return L"[audio_channel_layout] num_channels=" + std::to_wstring(num_channels) + L" type=" + type + L" channel_order=" + channels;
}
const audio_channel_layout& audio_channel_layout::invalid()