diff options
| author | Murray Cumming <murrayc@murrayc.com> | 2016-04-13 22:40:10 +0200 |
|---|---|---|
| committer | Murray Cumming <murrayc@murrayc.com> | 2016-04-13 22:40:10 +0200 |
| commit | a018cb24d44c8ff4fd732a4bd0ea05cffb37d950 (patch) | |
| tree | e4c0187da3d9985d25826d05b8c64a6ce9d87a24 /sigc++/adaptors | |
| parent | c267f66ab15ae2463eea951aee29a73ba60cabce (diff) | |
| download | sigc++-a018cb24d44c8ff4fd732a4bd0ea05cffb37d950.tar.gz | |
adapts, typed_slot_rep: Make adaptor_type aliases private.
They are used in public API, but that is legal C++.
This way, we don't need to think that the public types are needed.
Diffstat (limited to 'sigc++/adaptors')
| -rw-r--r-- | sigc++/adaptors/adapts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sigc++/adaptors/adapts.h b/sigc++/adaptors/adapts.h index a88461d..956b4b4 100644 --- a/sigc++/adaptors/adapts.h +++ b/sigc++/adaptors/adapts.h @@ -75,8 +75,10 @@ namespace sigc template <class T_functor> struct adapts : public adaptor_base { +private: using adaptor_type = typename adaptor_trait<T_functor>::adaptor_type; +public: /** Constructs an adaptor that wraps the passed functor. * @param _A_functor Functor to invoke from operator()(). */ |
