Fix typos
[platform/upstream/libzypp.git] / zypp / base / NonCopyable.h
1 /*---------------------------------------------------------------------\
2 |                          ____ _   __ __ ___                          |
3 |                         |__  / \ / / . \ . \                         |
4 |                           / / \ V /|  _/  _/                         |
5 |                          / /__ | | | | | |                           |
6 |                         /_____||_| |_| |_|                           |
7 |                                                                      |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/base/NonCopyable.h
10 */
11 #ifndef ZYPP_BASE_NONCOPYABLE_H
12 #define ZYPP_BASE_NONCOPYABLE_H
13
14 #include <boost/noncopyable.hpp>
15
16 ///////////////////////////////////////////////////////////////////
17 namespace zypp
18 { /////////////////////////////////////////////////////////////////
19   ///////////////////////////////////////////////////////////////////
20   namespace base
21   { /////////////////////////////////////////////////////////////////
22
23     /** Ensure derived classes cannot be copied.
24      * Use private inheritance.
25     */
26     typedef boost::noncopyable NonCopyable;
27
28     /////////////////////////////////////////////////////////////////
29   } // namespace base
30   ///////////////////////////////////////////////////////////////////
31   /////////////////////////////////////////////////////////////////
32 } // namespace zypp
33 ///////////////////////////////////////////////////////////////////
34 #endif // ZYPP_BASE_NONCOPYABLE_H