]> git.tdb.fi Git - builder.git/commitdiff
Avoid a double verb in function name
authorMikko Rasa <tdb@tdb.fi>
Wed, 8 May 2013 12:20:56 +0000 (15:20 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 8 May 2013 12:20:56 +0000 (15:20 +0300)
source/package.h
source/pkgconfiggenerator.cpp

index cd2d021129dcaee30411ff9fc6a16a90a57c8bad..eb61f06b760e1fc21a4c62a3a34fda194837573e 100644 (file)
@@ -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. */
index 677ef9bed27032cae00389f38a0e57b9db2559eb..b60eec44f59535f17257c6189c099044a620ba15 100644 (file)
@@ -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');