From 2b0b06cbf4288746075a74c12ef233efc929a095 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 May 2015 15:23:54 +0200 Subject: Avoid relying on static initialization order --- build/cxx/target.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'build/cxx') diff --git a/build/cxx/target.cxx b/build/cxx/target.cxx index ab75b4c..e02801b 100644 --- a/build/cxx/target.cxx +++ b/build/cxx/target.cxx @@ -16,7 +16,7 @@ namespace build "hxx", &file::static_type, &target_factory, - file::static_type.search + &search_file }; const target_type ixx::static_type @@ -25,7 +25,7 @@ namespace build "ixx", &file::static_type, &target_factory, - file::static_type.search + &search_file }; const target_type txx::static_type @@ -34,7 +34,7 @@ namespace build "txx", &file::static_type, &target_factory, - file::static_type.search + &search_file }; const target_type cxx::static_type @@ -43,7 +43,7 @@ namespace build "cxx", &file::static_type, &target_factory, - file::static_type.search + &search_file }; const target_type h::static_type @@ -52,7 +52,7 @@ namespace build "h", &file::static_type, &target_factory, - file::static_type.search + &search_file }; const target_type c::static_type @@ -61,7 +61,7 @@ namespace build "c", &file::static_type, &target_factory, - file::static_type.search + &search_file }; } } -- cgit v1.1