]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.cpp
Remove extraneous std:: qualifiers
[builder.git] / source / gnucompiler.cpp
index 87fd6623ee91a58ce606d905a95ee8eace56532e..5209317dc0fd4b544bfc66b292c6beebd77080d6 100644 (file)
@@ -14,10 +14,9 @@ using namespace std;
 using namespace Msp;
 
 GnuCompiler::GnuCompiler(Builder &b, const string &t, const string &n):
-       Tool(b, t),
-       name(n)
+       Tool(b, t)
 {
-       executable = builder.get_vfs().find_binary(name);
+       executable = builder.get_vfs().find_binary(n);
 
        const Architecture &arch = builder.get_current_arch();
        if(arch.is_native())
@@ -26,7 +25,7 @@ GnuCompiler::GnuCompiler(Builder &b, const string &t, const string &n):
                system_path.push_back("/usr/"+arch.get_cross_prefix()+"/include");
 }
 
-Target *GnuCompiler::create_target(const list<Target *> &sources, const std::string &) const
+Target *GnuCompiler::create_target(const list<Target *> &sources, const string &) const
 {
        if(sources.size()!=1)
                throw invalid_argument("GnuCCompiler::create_target");