From 4ac1ab9865019e4769d74a3d2342b9fca369124c Mon Sep 17 00:00:00 2001 From: HowardHinnant Date: Sat, 5 Sep 2015 16:05:07 -0400 Subject: [PATCH] Updated Boost datetime Examples Translated (markdown) --- Boost-datetime-Examples-Translated.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Boost-datetime-Examples-Translated.md b/Boost-datetime-Examples-Translated.md index 9a74a53..a6e7c2a 100644 --- a/Boost-datetime-Examples-Translated.md +++ b/Boost-datetime-Examples-Translated.md @@ -314,7 +314,7 @@ look if ported to this library. auto ym = year(yi)/mi; if (!ym.ok()) throw std::runtime_error("Bad year or month: " - + std::to_string(yi) + "/" + std::to_string(mi)); + + std::to_string(yi) + "/" + std::to_string(mi)); auto wd = weekday{ym/1}; auto endOfMonth = (ym/last).day(); for (auto d = 1_d; d <= endOfMonth; d += days{1}, wd += days{1})