Removed the force init option from initialize()
The ability to keep track of all objects that are specific to a given
chip type is more complicated than what it is worth to support the
ability to reinitialize a single chip type. Instead, the user
application will need to uninitialize and reinitialize all needed
chip types.
In addition, the user application must ensure it does not try to
initialize the same chip type more than once to prevent memory bloat.
Change-Id: I8b33012553fe1bea75cdd319c53e7bd5bff91726
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/test/simulator/simulator.cpp b/test/simulator/simulator.cpp
index dfedb61..236bfc6 100644
--- a/test/simulator/simulator.cpp
+++ b/test/simulator/simulator.cpp
@@ -48,8 +48,7 @@
cdf.close();
// Initilize the chip with this Chip Data File.
- ReturnCode rc = initialize(buffer, sz_buffer);
- ASSERT_TRUE(RC_SUCCESS == rc || RC_CHIP_DATA_INITIALIZED == rc);
+ initialize(buffer, sz_buffer);
// Clean up the buffer
delete[] buffer;