diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:23:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-05-22 15:23:54 +0200 |
commit | 2b0b06cbf4288746075a74c12ef233efc929a095 (patch) | |
tree | 6fec848d888a56f718c2eaa13fba0b8a93a00d40 /build/bin/target.cxx | |
parent | e7688fc3efaa79b3236b9a3775ef1a0ffaeed1b1 (diff) |
Avoid relying on static initialization order
Diffstat (limited to 'build/bin/target.cxx')
-rw-r--r-- | build/bin/target.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/build/bin/target.cxx b/build/bin/target.cxx index cb7959c..1d69063 100644 --- a/build/bin/target.cxx +++ b/build/bin/target.cxx @@ -28,7 +28,7 @@ namespace build "obja", &file::static_type, &obja_factory, - file::static_type.search + &search_file }; static target* @@ -49,7 +49,7 @@ namespace build "objso", &file::static_type, &objso_factory, - file::static_type.search + &search_file }; static target* @@ -74,7 +74,7 @@ namespace build "obj", &target::static_type, &obj_factory, - target::static_type.search + &search_target }; const target_type exe::static_type @@ -83,7 +83,7 @@ namespace build "exe", &file::static_type, &target_factory<exe>, - file::static_type.search + &search_file }; static target* @@ -104,7 +104,7 @@ namespace build "liba", &file::static_type, &liba_factory, - file::static_type.search + &search_file }; static target* @@ -125,7 +125,7 @@ namespace build "libso", &file::static_type, &libso_factory, - file::static_type.search + &search_file }; static target* @@ -150,7 +150,7 @@ namespace build "lib", &target::static_type, &lib_factory, - target::static_type.search + &search_target }; } } |