summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-03-10 09:24:09 +1300
committerMatthew Parlane <parlane@gmail.com>2014-03-10 09:24:09 +1300
commit633dc75e857d649ffab7c4398e92536bccc9e1de (patch)
treef9aa8831a0731ea246bd921d979f4bffa7f07bd0 /Source/Core/InputCommon/ControllerInterface/Device.cpp
parentf4012638672472afdbd9956229f273a18a77fd77 (diff)
parentd802d392811be44d34ae9cd23f616db93e54c50f (diff)
Merge pull request #142 from Tilka/clang-modernize
Run clang-modernize and manually fix the result
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Device.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.cpp b/Source/Core/InputCommon/ControllerInterface/Device.cpp
index 295fc10b5a..e1383efc9d 100644
--- a/Source/Core/InputCommon/ControllerInterface/Device.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/Device.cpp
@@ -46,7 +46,7 @@ Device::Input* Device::FindInput(const std::string &name) const
return input;
}
- return NULL;
+ return nullptr;
}
Device::Output* Device::FindOutput(const std::string &name) const
@@ -57,7 +57,7 @@ Device::Output* Device::FindOutput(const std::string &name) const
return output;
}
- return NULL;
+ return nullptr;
}
//
@@ -151,7 +151,7 @@ Device* DeviceContainer::FindDevice(const DeviceQualifier& devq) const
return d;
}
- return NULL;
+ return nullptr;
}
Device::Input* DeviceContainer::FindInput(const std::string& name, const Device* def_dev) const
@@ -171,7 +171,7 @@ Device::Input* DeviceContainer::FindInput(const std::string& name, const Device*
return i;
}
- return NULL;
+ return nullptr;
}
Device::Output* DeviceContainer::FindOutput(const std::string& name, const Device* def_dev) const