Fix comment typo
authorAlexey Spiridonov <lesha@fb.com>
Sat, 17 Jan 2015 00:04:22 +0000 (16:04 -0800)
committerwoo <woo@fb.com>
Mon, 2 Feb 2015 21:11:34 +0000 (13:11 -0800)
Test Plan: checked this is the right function name

Reviewed By: ngbronson@fb.com

Subscribers: folly-diffs@

FB internal diff: D1788386

Signature: t1:1788386:1421453582:82d0c4685c1bd2d888f5974fd2a998ebbc27a9b5

folly/MPMCQueue.h

index 6f28305fbcb728a9563c79130170a614418a9ac6..cfd108e88cb1fe699ad321766fa71c8cf7c140e4 100644 (file)
@@ -289,7 +289,7 @@ class MPMCQueue : boost::noncopyable {
   /// return false, but writeIfNotFull will wait for the dequeue to finish.
   /// This method is required if you are composing queues and managing
   /// your own wakeup, because it guarantees that after every successful
-  /// write a readIfNotFull will succeed.
+  /// write a readIfNotEmpty will succeed.
   template <typename ...Args>
   bool writeIfNotFull(Args&&... args) noexcept {
     uint64_t ticket;