Commit f47621ec authored by kumagi's avatar kumagi Committed by Facebook Github Bot

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
parent cd058f18
...@@ -265,7 +265,7 @@ class Optional { ...@@ -265,7 +265,7 @@ class Optional {
struct StorageTriviallyDestructible { struct StorageTriviallyDestructible {
// The union trick allows to initialize the Optional's memory, // 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. // without actually calling Value's default constructor.
// The rest of the implementation enforces that hasValue/value are // The rest of the implementation enforces that hasValue/value are
// synchronized. // synchronized.
......
...@@ -35,7 +35,7 @@ class TryException : public std::logic_error { ...@@ -35,7 +35,7 @@ class TryException : public std::logic_error {
class UsingUninitializedTry : public TryException { class UsingUninitializedTry : public TryException {
public: public:
UsingUninitializedTry() : TryException("Using unitialized try") {} UsingUninitializedTry() : TryException("Using uninitialized try") {}
}; };
/* /*
......
...@@ -362,7 +362,7 @@ class FiberManager : public ::folly::Executor { ...@@ -362,7 +362,7 @@ class FiberManager : public ::folly::Executor {
FiberTailQueue readyFibers_; /**< queue of fibers ready to be executed */ FiberTailQueue readyFibers_; /**< queue of fibers ready to be executed */
FiberTailQueue yieldedFibers_; /**< queue of fibers which have yielded FiberTailQueue yieldedFibers_; /**< queue of fibers which have yielded
execution */ execution */
FiberTailQueue fibersPool_; /**< pool of unitialized Fiber objects */ FiberTailQueue fibersPool_; /**< pool of uninitialized Fiber objects */
GlobalFiberTailQueue allFibers_; /**< list of all Fiber objects owned */ GlobalFiberTailQueue allFibers_; /**< list of all Fiber objects owned */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment