diff options
author | Joseph-Eugene Winzer | 2018-01-01 13:54:43 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:46 +0000 |
commit | fa1e93a15eda76022193d97fa4a1c5fa8e0ecf42 (patch) | |
tree | 81245f2039fd974b27cd5cda23e31a1ecf601ddd /engines/supernova | |
parent | da3d145819ef93a0600c404c0600b4db2d17367d (diff) | |
download | scummvm-rg350-fa1e93a15eda76022193d97fa4a1c5fa8e0ecf42.tar.gz scummvm-rg350-fa1e93a15eda76022193d97fa4a1c5fa8e0ecf42.tar.bz2 scummvm-rg350-fa1e93a15eda76022193d97fa4a1c5fa8e0ecf42.zip |
SUPERNOVA: Removes global constructor call
Object() is redundant anyway as it instantiates an Object object and
copies it to nullObject, which was already default constructed.
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index c3846d0498..8f4394c1c8 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -70,7 +70,7 @@ const AudioInfo audioInfo[kAudioNumSamples] = { {54, 31040, -1} }; -const Object Object::nullObject = Object(); +const Object Object::nullObject; ObjectType operator|(ObjectType a, ObjectType b) { return static_cast<ObjectType>(+a | +b); |