diff options
author | Santosh Puranik <santosh.puranik@in.ibm.com> | 2015-11-18 15:34:57 +0530 |
---|---|---|
committer | Santosh S. Puranik <santosh.puranik@in.ibm.com> | 2015-11-18 04:18:30 -0600 |
commit | c19e963574ee69bf0d414b3c3254db1298ad3b1b (patch) | |
tree | 7d568d5cb9910d5f80454645183c383ecd3c6a28 /hwpf | |
parent | 63da1f0a525ab2db84af395ee4c5215aa724ef29 (diff) | |
download | talos-sbe-c19e963574ee69bf0d414b3c3254db1298ad3b1b.tar.gz talos-sbe-c19e963574ee69bf0d414b3c3254db1298ad3b1b.zip |
Fixed compile errors
Fixed compile errors in =, == and != operators
Change-Id: I613cdbbd4469fff8d9e50318100e960d8ac7cb3b
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22144
Tested-by: Jenkins Server
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Diffstat (limited to 'hwpf')
-rw-r--r-- | hwpf/include/plat/target.H | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hwpf/include/plat/target.H b/hwpf/include/plat/target.H index 0c40642b..644a2511 100644 --- a/hwpf/include/plat/target.H +++ b/hwpf/include/plat/target.H @@ -123,7 +123,7 @@ namespace fapi2 template<TargetType K, typename V> Target<K, V>& Target<K, V>::operator=(const Target& i_right) { - this->iv_handle.value = i_right->iv_handle.value; + this->iv_handle.value = i_right.iv_handle.value; return *this; } /// @@ -136,7 +136,7 @@ namespace fapi2 template<TargetType K, typename V> bool Target<K, V>::operator==(const Target& i_right) const { - if (this->iv_handle.value == i_right->iv_handle.value) + if (this->iv_handle.value == i_right.iv_handle.value) return true; else return false; @@ -152,7 +152,7 @@ namespace fapi2 template<TargetType K, typename V> bool Target<K, V>::operator!=(const Target& i_right) const { - if (this->iv_handle.value != i_right->iv_handle.value) + if (this->iv_handle.value != i_right.iv_handle.value) return true; else return false; @@ -239,9 +239,9 @@ namespace fapi2 std::vector<fapi2::plat_target_handle_t>::iterator l_iter; FAPI_DBG("getChildren: initializing children vector"); std::vector<Target<T> > l_children; - - - + + + uint32_t c = 0; for (l_iter = G_vec_targets.begin(); l_iter != G_vec_targets.end(); ++l_iter) { @@ -251,7 +251,7 @@ namespace fapi2 { switch (i_state) { - case TARGET_STATE_PRESENT: + case TARGET_STATE_PRESENT: if ((*l_temp).getPresent()) { l_children.push_back((*l_temp)); |