summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-19 13:34:20 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-02-19 13:34:20 (GMT)
commite7d328759001f555dc5130c1d9c9f2cd7f411455 (patch)
tree8078f8e8ec865c061bd64151e23fb1835adde9ba /Help/manual
parent0b3a792bef76b85f2350fa244b7f7e033fb9ccac (diff)
parentf6cae4ea06501827c3f4e5907fdb83d5d61f545b (diff)
downloadCMake-e7d328759001f555dc5130c1d9c9f2cd7f411455.zip
CMake-e7d328759001f555dc5130c1d9c9f2cd7f411455.tar.gz
CMake-e7d328759001f555dc5130c1d9c9f2cd7f411455.tar.bz2
Merge topic 'minor-cleanups'
f6cae4ea Tests: Remove some trailing black lines. c0ea4c5c Makefile: Fix comment indentation. 5e0c73c7 cmGlobalGenerator: Remove unused variable. 907c09cd include_directory: Add missing include. a74d125a Help: Fix typo 317d8498 Small typo fix
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-developer.7.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst
index 887047c..376b56c 100644
--- a/Help/manual/cmake-developer.7.rst
+++ b/Help/manual/cmake-developer.7.rst
@@ -84,7 +84,7 @@ In some implementations, algorithms operating on iterators to a container of
const char* dir = /*...*/;
std::vector<std::string> vec;
// ...
- std::binary_find(vec.begin(), vec.end(), dir); // Wrong
+ std::binary_search(vec.begin(), vec.end(), dir); // Wrong
The ``std::string`` may need to be explicitly constructed:
@@ -93,7 +93,7 @@ The ``std::string`` may need to be explicitly constructed:
const char* dir = /*...*/;
std::vector<std::string> vec;
// ...
- std::binary_find(vec.begin(), vec.end(), std::string(dir)); // Ok
+ std::binary_search(vec.begin(), vec.end(), std::string(dir)); // Ok
std::auto_ptr
-------------