diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:43:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:43:41 +0200 |
commit | cd4e709ead8a3e97eee0ef7b362240986e18fbd5 (patch) | |
tree | 69dc4a360e53a83ac0d9243e40c672a34a568c2a /build/bin | |
parent | 2b0b06cbf4288746075a74c12ef233efc929a095 (diff) |
Get rid of gcc, clang warnings (-Wall)
Diffstat (limited to 'build/bin')
-rw-r--r-- | build/bin/rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/bin/rule.cxx b/build/bin/rule.cxx index 172e5d8..06fe72e 100644 --- a/build/bin/rule.cxx +++ b/build/bin/rule.cxx @@ -63,7 +63,7 @@ namespace build { if (t.a == nullptr) t.a = &static_cast<liba&> (search (prerequisite_key { - &liba::static_type, &t.dir, &t.name, &t.ext, nullptr})); + {&liba::static_type, &t.dir, &t.name, &t.ext}, nullptr})); build::match (a, *t.a); } @@ -72,7 +72,7 @@ namespace build { if (t.so == nullptr) t.so = &static_cast<libso&> (search (prerequisite_key { - &libso::static_type, &t.dir, &t.name, &t.ext, nullptr})); + {&libso::static_type, &t.dir, &t.name, &t.ext}, nullptr})); build::match (a, *t.so); } |