aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2012-11-06 00:19:57 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2012-11-06 00:19:57 +0000
commit31828bd36a29239ac4899726d1af712118681b92 (patch)
treea466ad66fda15b294f0c9027f7906ff0903daa47 /libstdc++-v3
parent8787e27c9f96c271f76273f24cdf35a68daf726b (diff)
downloadgcc-31828bd36a29239ac4899726d1af712118681b92.zip
gcc-31828bd36a29239ac4899726d1af712118681b92.tar.gz
gcc-31828bd36a29239ac4899726d1af712118681b92.tar.bz2
* include/profile/map.h (map::emplace_hint): Add missing return.
From-SVN: r193202
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/profile/map.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3164b03..e85de72 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
+
+ * include/profile/map.h (map::emplace_hint): Add missing return.
+
2012-11-05 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/profile/deque: Constrain InputIterator parameters.
diff --git a/libstdc++-v3/include/profile/map.h b/libstdc++-v3/include/profile/map.h
index fe2f456..f96f18b 100644
--- a/libstdc++-v3/include/profile/map.h
+++ b/libstdc++-v3/include/profile/map.h
@@ -261,6 +261,7 @@ namespace __profile
std::forward<_Args>(__args)...);
__profcxx_map_to_unordered_map_insert(this, size_before,
size() - size_before);
+ return __res;
}
#endif