diff options
| author | 2015-12-04 07:02:45 +0100 | |
|---|---|---|
| committer | 2015-12-04 07:02:45 +0100 | |
| commit | 0c56ac848dd0eba359500d444ecbb51f215ff5b9 (patch) | |
| tree | ad3444449470cec94ccaffd174c5a4d1bc90d1e1 /src/devices/machine/i2cmem.cpp | |
| parent | 68f961927a156c47cb444c1f66258a89342d0205 (diff) | |
clang-modernize part 3
Diffstat (limited to 'src/devices/machine/i2cmem.cpp')
| -rw-r--r-- | src/devices/machine/i2cmem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i2cmem.cpp b/src/devices/machine/i2cmem.cpp index 7b6869e2cb7..17da9d40e2e 100644 --- a/src/devices/machine/i2cmem.cpp +++ b/src/devices/machine/i2cmem.cpp @@ -159,7 +159,7 @@ void i2cmem_device::device_reset() const address_space_config *i2cmem_device::memory_space_config( address_spacenum spacenum ) const { - return ( spacenum == 0 ) ? &m_space_config : NULL; + return ( spacenum == 0 ) ? &m_space_config : nullptr; } @@ -179,7 +179,7 @@ void i2cmem_device::nvram_default() } /* populate from a memory region if present */ - if( m_region != NULL ) + if( m_region != nullptr ) { if( m_region->bytes() != i2cmem_bytes ) { |
