mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
Ninja: Avoid using 'this' in member initializers
VS complains warning C4355: 'this' : used in base member initializer list so initialize the member in the constructor body instead.
This commit is contained in:
parent
bba37dd517
commit
48eb7fc7d7
@ -27,8 +27,8 @@ cmNinjaNormalTargetGenerator(cmTarget* target)
|
||||
, TargetNameReal()
|
||||
, TargetNameImport()
|
||||
, TargetNamePDB()
|
||||
, TargetLinkLanguage(target->GetLinkerLanguage(this->GetConfigName()))
|
||||
{
|
||||
this->TargetLinkLanguage = target->GetLinkerLanguage(this->GetConfigName());
|
||||
if (target->GetType() == cmTarget::EXECUTABLE)
|
||||
target->GetExecutableNames(this->TargetNameOut,
|
||||
this->TargetNameReal,
|
||||
|
Loading…
Reference in New Issue
Block a user