[libsigcplusplus] C++11: Small uses of auto.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus] C++11: Small uses of auto.
- Date: Fri, 1 Apr 2016 16:52:02 +0000 (UTC)
commit 40f51185e4ea7a79f327d96999f7a049f25f9871
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Apr 1 18:51:30 2016 +0200
C++11: Small uses of auto.
sigc++/signal.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sigc++/signal.h b/sigc++/signal.h
index 57ca6c6..e383330 100644
--- a/sigc++/signal.h
+++ b/sigc++/signal.h
@@ -430,7 +430,7 @@ struct slot_reverse_iterator_buf
decltype(auto) operator*() const
{
- iterator_type __tmp(i_);
+ auto __tmp(i_);
--__tmp;
if (!__tmp->empty() && !__tmp->blocked() && !invoked_)
{
@@ -511,7 +511,7 @@ struct slot_reverse_iterator_buf<T_emitter, void>
void operator*() const
{
- iterator_type __tmp(i_);
+ auto __tmp(i_);
--__tmp;
if (!__tmp->empty() && !__tmp->blocked() && !invoked_)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]