From 36508cbdaa8cd45cdd5fc67eee763ad44e31a164 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 8 May 2013 15:20:56 +0300 Subject: [PATCH] Avoid a double verb in function name --- source/package.h | 2 +- source/pkgconfiggenerator.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/package.h b/source/package.h index cd2d021..eb61f06 100644 --- a/source/package.h +++ b/source/package.h @@ -52,7 +52,7 @@ public: const BuildInfo &get_exported_build_info() const { return export_binfo; } /// Indicates whether or not this package supports pkg-config - bool get_use_pkgconfig() const { return use_pkgconfig; } + bool uses_pkgconfig() const { return use_pkgconfig; } /** Prepares the package for building. Recursively prepares all required packages, populates build info and creates targets. */ diff --git a/source/pkgconfiggenerator.cpp b/source/pkgconfiggenerator.cpp index 677ef9b..b60eec4 100644 --- a/source/pkgconfiggenerator.cpp +++ b/source/pkgconfiggenerator.cpp @@ -46,7 +46,7 @@ void PkgConfigGenerator::Worker::main() IO::print(out, "Requires:"); const Package::Requirements &reqs = spkg.get_required_packages(); for(Package::Requirements::const_iterator i=reqs.begin(); i!=reqs.end(); ++i) - if((*i)->get_use_pkgconfig()) + if((*i)->uses_pkgconfig()) IO::print(out, " %s", (*i)->get_name()); out.put('\n'); -- 2.43.0