diff options
author | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2012-09-10 09:51:07 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjell.ahlstedt@bredband.net> | 2012-09-10 09:51:07 +0200 |
commit | a6c44b506f2fbc52d48a822aec95517c819143f8 (patch) | |
tree | 1634ceff3e840ac77c65f3b2412d2fe30bfb874b /sigc++/signal_base.h | |
parent | 0f19ff1eb27276201799f6f3a1070f249703e090 (diff) | |
download | sigc++-a6c44b506f2fbc52d48a822aec95517c819143f8.tar.gz |
Use std::size_t and std::ptrdiff_t.
* sigc++/macros/signal.h.m4: Use std::size_t and std::ptrdiff_t instead
of ::size_t and ::ptrdiff_t. Only the std versions are required to be
declared in <cstddef>.
* sigc++/signal_base.h: Use std::size_t instead of ::size_t. (I did not change
MSVC++-only code in this file and other files.)
Diffstat (limited to 'sigc++/signal_base.h')
-rw-r--r-- | sigc++/signal_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sigc++/signal_base.h b/sigc++/signal_base.h index e43bd5e..d16ccfa 100644 --- a/sigc++/signal_base.h +++ b/sigc++/signal_base.h @@ -46,7 +46,7 @@ namespace internal */ struct SIGC_API signal_impl { - typedef size_t size_type; + typedef std::size_t size_type; typedef std::list<slot_base> slot_list; typedef slot_list::iterator iterator_type; typedef slot_list::const_iterator const_iterator_type; @@ -239,7 +239,7 @@ private: */ struct SIGC_API signal_base : public trackable { - typedef size_t size_type; + typedef std::size_t size_type; signal_base(); |