diff options
| author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-11-16 19:37:52 +0530 |
|---|---|---|
| committer | Ratan Gupta <ratagupt@in.ibm.com> | 2017-11-16 20:56:06 +0530 |
| commit | 62fb7358c4f40159134d74c1b572395fa808cc31 (patch) | |
| tree | 9c0c6d65fe74237dae93eab42f5abe5d388602aa | |
| parent | b6242b02b12c9d2d33ccf5b17837770134f61f46 (diff) | |
| download | phosphor-networkd-62fb7358c4f40159134d74c1b572395fa808cc31.tar.gz phosphor-networkd-62fb7358c4f40159134d74c1b572395fa808cc31.zip | |
fix missing explicit keyword
Change-Id: Ifeb3d4f1f56bf189299e79728c280e16b21039b9
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
| -rw-r--r-- | util.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -195,7 +195,7 @@ class Descriptor Descriptor(Descriptor&&) = delete; Descriptor& operator=(Descriptor &&) = delete; - Descriptor(int fd) : fd(fd) {} + explicit Descriptor(int fd) : fd(fd) {} /* @brief sets the internal file descriptor with the given descriptor * and closes the old descriptor. |

