summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/fapi/fapiTarget.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/fapi/fapiTarget.C')
-rw-r--r--src/usr/hwpf/fapi/fapiTarget.C14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/usr/hwpf/fapi/fapiTarget.C b/src/usr/hwpf/fapi/fapiTarget.C
index 463a13ed3..ae6869f46 100644
--- a/src/usr/hwpf/fapi/fapiTarget.C
+++ b/src/usr/hwpf/fapi/fapiTarget.C
@@ -4,6 +4,14 @@
* @brief Implements the FAPI part of the Target class.
*/
+/*
+ * Change Log ******************************************************************
+ * Flag Defect/Feature User Date Description
+ * ------ -------------- ---------- ----------- ----------------------------
+ * mjjones 04/13/2011 Created. Based on Hlava prototype
+ * mjjones 07/05/2011. Removed const from handle
+ */
+
#include <fapiTarget.H>
namespace fapi
@@ -22,7 +30,7 @@ Target::Target() :
// Constructor.
//******************************************************************************
Target::Target(const TargetType i_type,
- const void * i_pHandle) :
+ void * i_pHandle) :
iv_type(i_type), iv_pHandle(i_pHandle)
{
@@ -88,13 +96,13 @@ bool Target::operator!=(const Target & i_right) const
//******************************************************************************
void * Target::get() const
{
- return const_cast<void *>(iv_pHandle);
+ return iv_pHandle;
}
//******************************************************************************
// Set the handle.
//******************************************************************************
-void Target::set(const void * i_pHandle)
+void Target::set(void * i_pHandle)
{
iv_pHandle = i_pHandle;
}
OpenPOWER on IntegriCloud