/*********************************************************
- * Copyright (C) 2014 VMware, Inc. All rights reserved.
+ * Copyright (C) 2014-2017 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
typedef AutoCPtr<T, FreeFunc> SelfType;
public:
- AutoCPtr(T* p = NULL, // IN/OPT
- FreeFunc f = std::free) // IN/OPT
+ explicit AutoCPtr(T* p = NULL, // IN/OPT
+ FreeFunc f = std::free) // IN/OPT
: mP(p),
mFree(f)
{