summaryrefslogtreecommitdiff
path: root/slicer/test/streams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'slicer/test/streams.cpp')
-rw-r--r--slicer/test/streams.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/test/streams.cpp b/slicer/test/streams.cpp
index 2f8a513..e22506e 100644
--- a/slicer/test/streams.cpp
+++ b/slicer/test/streams.cpp
@@ -13,7 +13,7 @@
void TestStream::Produce(const Consumer & c)
{
for (int x = 0; x < 10; x += 1) {
- auto str = boost::lexical_cast<std::string>(x);
+ auto str = std::to_string(x);
c(str);
}
}