|
|
@@ -80,15 +80,12 @@ void cmFindPackageCommand::AppendSearchPathGroups()
|
|
|
PathLabel::SystemRegistry);
|
|
|
|
|
|
// Create the new path objects
|
|
|
- this->LabeledPaths.insert(
|
|
|
- std::pair<cmFindCommon::PathLabel, cmSearchPath>(
|
|
|
- PathLabel::UserRegistry, cmSearchPath(this)));
|
|
|
- this->LabeledPaths.insert(
|
|
|
- std::pair<cmFindCommon::PathLabel, cmSearchPath>(
|
|
|
- PathLabel::Builds, cmSearchPath(this)));
|
|
|
- this->LabeledPaths.insert(
|
|
|
- std::pair<cmFindCommon::PathLabel, cmSearchPath>(
|
|
|
- PathLabel::SystemRegistry, cmSearchPath(this)));
|
|
|
+ this->LabeledPaths.insert(std::make_pair(PathLabel::UserRegistry,
|
|
|
+ cmSearchPath(this)));
|
|
|
+ this->LabeledPaths.insert(std::make_pair(PathLabel::Builds,
|
|
|
+ cmSearchPath(this)));
|
|
|
+ this->LabeledPaths.insert(std::make_pair(PathLabel::SystemRegistry,
|
|
|
+ cmSearchPath(this)));
|
|
|
}
|
|
|
|
|
|
//----------------------------------------------------------------------------
|