From 345abc6b67781463b371be1b2505a53af30bf66c Mon Sep 17 00:00:00 2001
From: Mana Borwornpadungkitti
Date: Sun, 24 Mar 2019 22:32:07 +0700
Subject: [PATCH] Fix a typo in example of time_duration xmldoc (#100)
---
xmldoc/time_duration.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xmldoc/time_duration.xml b/xmldoc/time_duration.xml
index 4ae53fe53..c31fb4d3c 100644
--- a/xmldoc/time_duration.xml
+++ b/xmldoc/time_duration.xml
@@ -38,7 +38,7 @@ time_duration td(1,2,3,4); //01:02:03.000004 when resolution is micro seconds
using namespace boost::posix_time;
-time_duration td = hours(1) + seconds(10); //01:00:01
+time_duration td = hours(1) + seconds(10); //01:00:10
td = hours(1) + nanoseconds(5); //01:00:00.000000005
Note that the existence of the higher resolution classes (eg: nanoseconds) depends on the installation of the library. See Build-Compiler Information for more information.