Make some single arg constructors explicit
[platform/core/security/key-manager.git] / src / manager / client / client-common.h
index 032f2f9..d285b5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  Copyright (c) 2000 - 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ *  Copyright (c) 2000-2019 Samsung Electronics Co., Ltd. All rights reserved
  *
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ namespace CKM {
 
 class AliasSupport {
 public:
-       AliasSupport(const Alias &alias);
+       explicit AliasSupport(const Alias &alias);
 
        const ClientId &getOwner() const;
        const Name &getName() const;
@@ -87,7 +87,7 @@ protected:
 
 class ServiceConnection {
 public:
-       ServiceConnection(const char *service_interface);
+       explicit ServiceConnection(const char *service_interface);
 
        // roundtrip: send and receive
        int processRequest(const CKM::RawBuffer &send_buf,