1#pragma once
2
3namespace mbgl { namespace util {
4
5namespace non_copyable_
6{
7
8class noncopyable
9{
10public:
11 noncopyable( noncopyable const& ) = delete;
12 noncopyable& operator=(noncopyable const& ) = delete;
13
14protected:
15 constexpr noncopyable() = default;
16 ~noncopyable() = default;
17};
18} // namespace non_copyable_
19
20using noncopyable = non_copyable_::noncopyable;
21
22} // namespace util
23} // namespace mbgl
24

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/noncopyable.hpp