From: Mikko Rasa Date: Wed, 8 May 2013 12:20:56 +0000 (+0300) Subject: Avoid a double verb in function name X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=36508cbdaa8cd45cdd5fc67eee763ad44e31a164;p=builder.git Avoid a double verb in function name --- 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');