[libsigcplusplus/variadic_mem_fun3: 119/148] A small const improvement.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsigcplusplus/variadic_mem_fun3: 119/148] A small const improvement.
- Date: Mon, 7 Mar 2016 10:07:49 +0000 (UTC)
commit b12e641d9b03d82896cc85b4befaf06986a5d624
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Mar 5 23:20:11 2016 +0100
A small const improvement.
sigc++/adaptors/hide.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sigc++/adaptors/hide.h b/sigc++/adaptors/hide.h
index e6b186a..ce9a51e 100644
--- a/sigc++/adaptors/hide.h
+++ b/sigc++/adaptors/hide.h
@@ -85,7 +85,7 @@ struct hide_functor : public adapts<T_functor>
const auto t_start = internal::tuple_start<index_ignore>(t);
const auto t_end = internal::tuple_end<size - index_ignore - 1>(t);
- auto t_used = std::tuple_cat(t_start, t_end); //TODO: Let this be const?
+ const auto t_used = std::tuple_cat(t_start, t_end);
//This is so we can specify a particular instantiation of the functor's
//operator().
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]