diff options
author | Artur Ryt <artur.ryt@gmail.com> | 2019-01-29 19:51:12 (GMT) |
---|---|---|
committer | Artur Ryt <artur.ryt@gmail.com> | 2019-01-29 19:51:12 (GMT) |
commit | d6fbd438c4ca89a4e5e7eec612b142f8e86faa17 (patch) | |
tree | 9d1ccaaee9c542af3cc8870edfdf503bb430f4ae /Source/cmQtAutoGeneratorRcc.cxx | |
parent | d75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff) | |
download | CMake-d6fbd438c4ca89a4e5e7eec612b142f8e86faa17.zip CMake-d6fbd438c4ca89a4e5e7eec612b142f8e86faa17.tar.gz CMake-d6fbd438c4ca89a4e5e7eec612b142f8e86faa17.tar.bz2 |
Autogen: Refactor std::bind calls to lambdas
Diffstat (limited to 'Source/cmQtAutoGeneratorRcc.cxx')
-rw-r--r-- | Source/cmQtAutoGeneratorRcc.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmQtAutoGeneratorRcc.cxx b/Source/cmQtAutoGeneratorRcc.cxx index 43ff172..021a15f 100644 --- a/Source/cmQtAutoGeneratorRcc.cxx +++ b/Source/cmQtAutoGeneratorRcc.cxx @@ -10,8 +10,6 @@ #include "cmSystemTools.h" #include "cmUVHandlePtr.h" -#include <functional> - // -- Class methods cmQtAutoGeneratorRcc::cmQtAutoGeneratorRcc() @@ -662,8 +660,7 @@ bool cmQtAutoGeneratorRcc::StartProcess( Process_ = cm::make_unique<ReadOnlyProcessT>(); Process_->setup(&ProcessResult_, mergedOutput, command, workingDirectory); // Start process - if (!Process_->start(UVLoop(), - std::bind(&cm::uv_async_ptr::send, &UVRequest()))) { + if (!Process_->start(UVLoop(), [this] { UVRequest().send(); })) { Log().ErrorFile(GeneratorT::RCC, QrcFile_, ProcessResult_.ErrorMessage); Error_ = true; // Clean up |