diff options
Diffstat (limited to 'lib/common/Utils/include/NonCopyable.h')
-rw-r--r-- | lib/common/Utils/include/NonCopyable.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/common/Utils/include/NonCopyable.h b/lib/common/Utils/include/NonCopyable.h deleted file mode 100644 index 403fb3c..0000000 --- a/lib/common/Utils/include/NonCopyable.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2012-2013 Samsung Electronics Co., Ltd - * - * Licensed under the Flora License, Version 1.1 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://floralicense.org/license/ - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * @file NonCopyable.h - * @brief Non-copyable base class. - * @author Andrey Klimenko (and.klimenko@samsung.com) - */ - -#ifndef __UTILS_NONCOPYABLE_H__ -#define __UTILS_NONCOPYABLE_H__ - -namespace Utils -{ - /** - * An util-like class to make easier restriction of copying or/and instancing for child classes - * */ - class NonCopyable - { - protected: - NonCopyable(); - ~NonCopyable(); - private: - NonCopyable(const NonCopyable&); - const NonCopyable& operator=(const NonCopyable&); - }; -} - -#endif /* __UTILS_NONCOPYABLE_H__ */ |