aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvdrv/nvdrv.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-11 11:42:05 -0400
committerGitHub <noreply@github.com>2018-09-11 11:42:05 -0400
commit1470b85af9027106f16c888bb7f6a97d44fad304 (patch)
tree47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/nvdrv/nvdrv.cpp
parent2f0ff4d25b0780a84769bd0277bcab3c56e3186b (diff)
parent6ac955a0b441d762a2ebc0ce96bc41954879c0fc (diff)
Merge pull request #1291 from lioncash/default
hle/service: Default constructors and destructors in the cpp file where applicable
Diffstat (limited to 'src/core/hle/service/nvdrv/nvdrv.cpp')
-rw-r--r--src/core/hle/service/nvdrv/nvdrv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cpp
index 2de39822f..6e4b8f2c6 100644
--- a/src/core/hle/service/nvdrv/nvdrv.cpp
+++ b/src/core/hle/service/nvdrv/nvdrv.cpp
@@ -45,6 +45,8 @@ Module::Module() {
devices["/dev/nvhost-vic"] = std::make_shared<Devices::nvhost_vic>();
}
+Module::~Module() = default;
+
u32 Module::Open(const std::string& device_name) {
ASSERT_MSG(devices.find(device_name) != devices.end(), "Trying to open unknown device {}",
device_name);