systemc: Replace sc_core::sc_type_index with std::type_index.
authorGabe Black <gabeblack@google.com>
Thu, 3 Jan 2019 21:57:27 +0000 (13:57 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 9 Jan 2019 01:35:51 +0000 (01:35 +0000)
commit29318390b5163c973878c859b8e769c96fa205e8
treefb26ea313a8797e440c825351db1621a25dde632
parent5701aab0f17aec5d2f857fa00a75b8f5db617ec1
systemc: Replace sc_core::sc_type_index with std::type_index.

The former is either the same as the later, or a custom wrapper if
C++11 isn't supported. Since we generally expect C++11 support, we can
skip the indirection.

Change-Id: I9a45e3854bb7cc56d094e3fe2773fe4b5c94403b
Reviewed-on: https://gem5-review.googlesource.com/c/15297
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/systemc/ext/tlm_core/2/sockets/base_socket_if.hh
src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
src/systemc/ext/tlm_core/2/sockets/target_socket.hh
src/systemc/tlm_core/2/generic_payload/gp.cc
src/systemc/tlm_core/2/generic_payload/phase.cc
src/systemc/tlm_utils/instance_specific_extensions.cc