[libcxx] r337900 - Fix another typo in the FileTimeType docs
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 25 03:22:07 PDT 2018
Author: ericwf
Date: Wed Jul 25 03:22:07 2018
New Revision: 337900
URL: http://llvm.org/viewvc/llvm-project?rev=337900&view=rev
Log:
Fix another typo in the FileTimeType docs
Modified:
libcxx/trunk/docs/DesignDocs/FileTimeType.rst
Modified: libcxx/trunk/docs/DesignDocs/FileTimeType.rst
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/docs/DesignDocs/FileTimeType.rst?rev=337900&r1=337899&r2=337900&view=diff
==============================================================================
--- libcxx/trunk/docs/DesignDocs/FileTimeType.rst (original)
+++ libcxx/trunk/docs/DesignDocs/FileTimeType.rst Wed Jul 25 03:22:07 2018
@@ -224,7 +224,7 @@ code in some way:
// Implicit truncation during conversion bug.
intmax_t get_time_in_seconds(path p) {
- using fs_seconds = duration<file_time_type::rep, /* default ration */>;
+ using fs_seconds = duration<file_time_type::rep, ratio<1, 1> >;
auto tp = last_write_time(p);
// This works with truncation for __int128_t, but what does it do for
More information about the cfe-commits
mailing list