No need for a wrapping structure for posixTimeToDuration
[folly.git] / folly / File.h
index af6620960b6e3bb36e354a6f4417a9392f9ca25d..958347d2b40d96e38164ccb7d2e4bafbc8a80121 100644 (file)
@@ -49,6 +49,7 @@ class File {
 
   /**
    * Open and create a file object.  Throws on error.
+   * Owns the file descriptor implicitly.
    */
   explicit File(const char* name, int flags = O_RDONLY, mode_t mode = 0666);
   explicit File(
@@ -150,5 +151,4 @@ class File {
 
 void swap(File& a, File& b);
 
-
-}  // namespace folly
+} // namespace folly