]> git.sesse.net Git - casparcg/blobdiff - protocol/amcp/amcp_command_repository.cpp
Remove most of boost::lexical_cast.
[casparcg] / protocol / amcp / amcp_command_repository.cpp
index 2457ec72d5b0f847897fe5b204ef65b53f02e27c..0bcb63003109d5c6f7b5e4cca5215f411e09df74 100644 (file)
@@ -101,7 +101,7 @@ struct amcp_command_repository::impl
                int index = 0;
                for (const auto& channel : channels)
                {
-                       std::wstring lifecycle_key = L"lock" + boost::lexical_cast<std::wstring>(index);
+                       std::wstring lifecycle_key = L"lock" + std::to_wstring(index);
                        this->channels.push_back(channel_context(channel, lifecycle_key));
                        ++index;
                }