diff options
author | crgeddes <crgeddes@us.ibm.com> | 2016-03-15 14:15:50 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-04-14 11:24:45 -0400 |
commit | a58241ba46e0ebb25b4ccf2e9cb9087938bccb2c (patch) | |
tree | d271a1db3f6a9e66da52195d3c92189cf8fc19b8 /import/hwpf | |
parent | 2031a595d4615e233ea4f76a7b18195e48637ba4 (diff) | |
download | talos-sbe-a58241ba46e0ebb25b4ccf2e9cb9087938bccb2c.tar.gz talos-sbe-a58241ba46e0ebb25b4ccf2e9cb9087938bccb2c.zip |
Delagation default ctor of target.H
The default constructor for target.H needs to explicitly point to
the constructor that accepts a plat_targ_handle type. This was added
for template specialization. Specifically in this case this was added
to address TARGET_TYPE_SYSTEM targets in hostboot platform code.
Change-Id: I863eb985f74f347a4e46a9c19449c57c70d6adce
RTC:129517
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22063
Tested-by: Jenkins Server
Reviewed-by: Matt K. Light <mklight@us.ibm.com>
Tested-by: Hostboot CI
Tested-by: PPE CI
Reviewed-by: Brian R. Silver <bsilver@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22065
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'import/hwpf')
-rw-r--r-- | import/hwpf/fapi2/include/fapi2_target.H | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/import/hwpf/fapi2/include/fapi2_target.H b/import/hwpf/fapi2/include/fapi2_target.H index f98e25a2..7c0a8d8d 100644 --- a/import/hwpf/fapi2/include/fapi2_target.H +++ b/import/hwpf/fapi2/include/fapi2_target.H @@ -100,6 +100,13 @@ class Target public: /// + /// @brief Delagate default constructor to constructor + /// that takes in a value as a param + /// + Target(): Target(V()) + {}; + + /// /// @brief Create a Target, with a value /// @param[in] Value the value (i.e., specific element this /// target represents, or pointer) @@ -107,9 +114,10 @@ class Target /// single uint64_t in value which represents all the information /// they might need. value( K | V ), for example /// - Target(V Value = 0): + Target(V Value): iv_handle(Value) - {} + {}; + /// /// @brief Assignment Operator. |