diff options
| author | Xin Li <delphij@google.com> | 2020-09-08 16:54:43 -0700 |
|---|---|---|
| committer | Xin Li <delphij@google.com> | 2020-09-08 16:54:43 -0700 |
| commit | 57492c61c8800771330363cd5bf63a6c3b263290 (patch) | |
| tree | 0904b9f712d8d0fc62470c89576cb0c0444ce406 /libnos/NuggetClient.cpp | |
| parent | c800e75b5615881f130a7cb356e281966fa67671 (diff) | |
| parent | a21d9de13958fd04376f1dbc2aa945d2df625a90 (diff) | |
| download | platform_external_nos_host_generic-master.tar.gz platform_external_nos_host_generic-master.tar.bz2 platform_external_nos_host_generic-master.zip | |
Bug: 168057903
Merged-In: If0f3baab4f54614b6890d8419f6ca8c1b59ba1de
Change-Id: I24501de7efea9f33add1ada8a2dd5c2bcf98ca7e
Diffstat (limited to 'libnos/NuggetClient.cpp')
| -rw-r--r-- | libnos/NuggetClient.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnos/NuggetClient.cpp b/libnos/NuggetClient.cpp index f775756..3f4682d 100644 --- a/libnos/NuggetClient.cpp +++ b/libnos/NuggetClient.cpp @@ -32,6 +32,9 @@ NuggetClient::NuggetClient(const std::string& device_name) : device_name_(device_name), open_(false) { } +NuggetClient::NuggetClient(const char* device_name) + : device_name_(device_name ? device_name : ""), open_(false) {} + NuggetClient::~NuggetClient() { Close(); } |
