Skip to content

Commit

Permalink
Fix a typo in example of time_duration xmldoc (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
potpath authored and JeffGarland committed Mar 24, 2019
1 parent b0437e2 commit 345abc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmldoc/time_duration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ time_duration td(1,2,3,4); //01:02:03.000004 when resolution is micro seconds</p
As an example:
<programlisting>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</programlisting>
Note that the existence of the higher resolution classes (eg: nanoseconds) depends on the installation of the library. See <link linkend="date_time.buildinfo">Build-Compiler Information</link> for more information.
</para>
Expand Down

0 comments on commit 345abc6

Please sign in to comment.