Fix typos

This commit is contained in:
Jakub Wilk 2016-05-01 12:29:21 +02:00
parent 4e279e2a70
commit e0ac51cbd9
4 changed files with 6 additions and 6 deletions

View File

@ -51,7 +51,7 @@ endif ()
if (MASTER_PROJECT AND CMAKE_GENERATOR MATCHES "Visual Studio") if (MASTER_PROJECT AND CMAKE_GENERATOR MATCHES "Visual Studio")
# If Microsoft SDK is installed create script run-msbuild.bat that # If Microsoft SDK is installed create script run-msbuild.bat that
# calls SetEnv.cmd to to set up build environment and runs msbuild. # calls SetEnv.cmd to set up build environment and runs msbuild.
# It is useful when building Visual Studio projects with the SDK # It is useful when building Visual Studio projects with the SDK
# toolchain rather than Visual Studio. # toolchain rather than Visual Studio.
include(FindSetEnv) include(FindSetEnv)

View File

@ -435,7 +435,7 @@ Fixes
`@MariadeAnton <https://github.com/MariadeAnton>`_ and `@MariadeAnton <https://github.com/MariadeAnton>`_ and
`@franramirez688 <https://github.com/franramirez688>`_. `@franramirez688 <https://github.com/franramirez688>`_.
* Improved support for bulding with `Android NDK * Improved support for building with `Android NDK
<https://developer.android.com/tools/sdk/ndk/index.html>`_ <https://developer.android.com/tools/sdk/ndk/index.html>`_
(`#107 <https://github.com/fmtlib/fmt/pull/107>`_). (`#107 <https://github.com/fmtlib/fmt/pull/107>`_).
Thanks to `@newnon <https://github.com/newnon>`_. Thanks to `@newnon <https://github.com/newnon>`_.
@ -621,7 +621,7 @@ Fixes
Apart from a more natural syntax, this also improves performance as there Apart from a more natural syntax, this also improves performance as there
is no need to construct temporary formatter objects and control arguments' is no need to construct temporary formatter objects and control arguments'
lifetimes. Because the wrapper functions are very ligthweight, this doesn't lifetimes. Because the wrapper functions are very lightweight, this doesn't
cause code bloat even in pre-C++11 mode. cause code bloat even in pre-C++11 mode.
* Simplified common case of formatting an ``std::string``. Now it requires a * Simplified common case of formatting an ``std::string``. Now it requires a

View File

@ -69,7 +69,7 @@ the previous section. Then compile the ``doc`` target/project, for example::
make doc make doc
This will generate the HTML documenation in ``doc/html``. This will generate the HTML documentation in ``doc/html``.
Android NDK Android NDK
=========== ===========

View File

@ -145,7 +145,7 @@ public:
// A "move constructor" for moving from a temporary. // A "move constructor" for moving from a temporary.
BufferedFile(Proxy p) FMT_NOEXCEPT : file_(p.file) {} BufferedFile(Proxy p) FMT_NOEXCEPT : file_(p.file) {}
// A "move constructor" for for moving from an lvalue. // A "move constructor" for moving from an lvalue.
BufferedFile(BufferedFile &f) FMT_NOEXCEPT : file_(f.file_) { BufferedFile(BufferedFile &f) FMT_NOEXCEPT : file_(f.file_) {
f.file_ = 0; f.file_ = 0;
} }
@ -251,7 +251,7 @@ class File {
// A "move constructor" for moving from a temporary. // A "move constructor" for moving from a temporary.
File(Proxy p) FMT_NOEXCEPT : fd_(p.fd) {} File(Proxy p) FMT_NOEXCEPT : fd_(p.fd) {}
// A "move constructor" for for moving from an lvalue. // A "move constructor" for moving from an lvalue.
File(File &other) FMT_NOEXCEPT : fd_(other.fd_) { File(File &other) FMT_NOEXCEPT : fd_(other.fd_) {
other.fd_ = -1; other.fd_ = -1;
} }