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 typo317d8498
Small typo fix
This commit is contained in:
commit
e7d3287590
|
@ -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
|
||||
-------------
|
||||
|
|
|
@ -2912,7 +2912,6 @@ void cmGlobalGenerator::WriteSummary()
|
|||
cmGeneratedFileStream fout(fname.c_str());
|
||||
|
||||
// Generate summary information files for each target.
|
||||
std::string dir;
|
||||
for(std::map<cmStdString,cmTarget *>::const_iterator ti =
|
||||
this->TotalTargets.begin(); ti != this->TotalTargets.end(); ++ti)
|
||||
{
|
||||
|
|
|
@ -1512,7 +1512,7 @@ void cmQtAutoGenerators::ParseCppFile(const std::string& absFilename,
|
|||
}
|
||||
else
|
||||
{
|
||||
std::cerr << "AUTOGEN: error: " << absFilename << " The file "
|
||||
std::cerr << "AUTOGEN: error: " << absFilename << ": The file "
|
||||
<< "includes the moc file \"" << currentMoc << "\", "
|
||||
<< "but could not find header \"" << basename
|
||||
<< '{' << this->Join(headerExtensions, ',') << "}\" ";
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
============================================================================*/
|
||||
#include "cmTargetIncludeDirectoriesCommand.h"
|
||||
|
||||
#include "cmGeneratorExpression.h"
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool cmTargetIncludeDirectoriesCommand
|
||||
::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &)
|
||||
|
|
|
@ -57,5 +57,3 @@ endforeach()
|
|||
get_directory_property(res INCLUDE_REGULAR_EXPRESSION)
|
||||
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/OtherProperties.txt
|
||||
"INCLUDE_REGULAR_EXPRESSION: ${res}\n")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue