aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:23:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-05-22 15:23:54 +0200
commit2b0b06cbf4288746075a74c12ef233efc929a095 (patch)
tree6fec848d888a56f718c2eaa13fba0b8a93a00d40 /build/cxx
parente7688fc3efaa79b3236b9a3775ef1a0ffaeed1b1 (diff)
Avoid relying on static initialization order
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/target.cxx12
1 files changed, 6 insertions, 6 deletions
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<hxx>,
- file::static_type.search
+ &search_file
};
const target_type ixx::static_type
@@ -25,7 +25,7 @@ namespace build
"ixx",
&file::static_type,
&target_factory<ixx>,
- file::static_type.search
+ &search_file
};
const target_type txx::static_type
@@ -34,7 +34,7 @@ namespace build
"txx",
&file::static_type,
&target_factory<txx>,
- file::static_type.search
+ &search_file
};
const target_type cxx::static_type
@@ -43,7 +43,7 @@ namespace build
"cxx",
&file::static_type,
&target_factory<cxx>,
- file::static_type.search
+ &search_file
};
const target_type h::static_type
@@ -52,7 +52,7 @@ namespace build
"h",
&file::static_type,
&target_factory<h>,
- file::static_type.search
+ &search_file
};
const target_type c::static_type
@@ -61,7 +61,7 @@ namespace build
"c",
&file::static_type,
&target_factory<c>,
- file::static_type.search
+ &search_file
};
}
}