From: kumagi Date: Tue, 10 Jan 2017 19:55:42 +0000 (-0800) Subject: fix typo in comments. s/unitialized/uninitialized/g X-Git-Tag: v2017.03.06.00~109 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f47621ec247c8009d8a8aae8823f0de7c27a70fe;p=folly.git fix typo in comments. s/unitialized/uninitialized/g Summary: `unitialized` seems to be typo. Closes https://github.com/facebook/folly/pull/538 Reviewed By: igorsugak Differential Revision: D4397318 Pulled By: yfeldblum fbshipit-source-id: a2e6c665b4dfe95d769430405886b0725423aac2 --- diff --git a/folly/Optional.h b/folly/Optional.h index acd613ab..61e71c1f 100644 --- a/folly/Optional.h +++ b/folly/Optional.h @@ -265,7 +265,7 @@ class Optional { struct StorageTriviallyDestructible { // The union trick allows to initialize the Optional's memory, - // so that compiler/tools don't complain about unitialized memory, + // so that compiler/tools don't complain about uninitialized memory, // without actually calling Value's default constructor. // The rest of the implementation enforces that hasValue/value are // synchronized. diff --git a/folly/Try.h b/folly/Try.h index bcf2b3b0..230c658c 100644 --- a/folly/Try.h +++ b/folly/Try.h @@ -35,7 +35,7 @@ class TryException : public std::logic_error { class UsingUninitializedTry : public TryException { public: - UsingUninitializedTry() : TryException("Using unitialized try") {} + UsingUninitializedTry() : TryException("Using uninitialized try") {} }; /* diff --git a/folly/fibers/FiberManagerInternal.h b/folly/fibers/FiberManagerInternal.h index 8a0d2693..b58ab0ed 100644 --- a/folly/fibers/FiberManagerInternal.h +++ b/folly/fibers/FiberManagerInternal.h @@ -362,7 +362,7 @@ class FiberManager : public ::folly::Executor { FiberTailQueue readyFibers_; /**< queue of fibers ready to be executed */ FiberTailQueue yieldedFibers_; /**< queue of fibers which have yielded execution */ - FiberTailQueue fibersPool_; /**< pool of unitialized Fiber objects */ + FiberTailQueue fibersPool_; /**< pool of uninitialized Fiber objects */ GlobalFiberTailQueue allFibers_; /**< list of all Fiber objects owned */