aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-01-13 17:20:23 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2017-01-13 17:20:23 +0000
commitaa1ba96b8719da219f92568661e4a9f85a336e08 (patch)
tree909d95c480e8f2d13e77023b4422e8b59ac19749 /libstdc++-v3
parenta6ab4e077bffaf4f07d02c3953ef19a35822dffc (diff)
downloadgcc-aa1ba96b8719da219f92568661e4a9f85a336e08.zip
gcc-aa1ba96b8719da219f92568661e4a9f85a336e08.tar.gz
gcc-aa1ba96b8719da219f92568661e4a9f85a336e08.tar.bz2
Remove unused include from Profile Mode header
* include/profile/base.h: Remove unused header that leads to header cycle in C++17 mode. From-SVN: r244449
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog3
-rw-r--r--libstdc++-v3/include/profile/base.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 969e6e9..79dc753 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,8 @@
2017-01-13 Jonathan Wakely <jwakely@redhat.com>
+ * include/profile/base.h: Remove unused header that leads to header
+ cycle in C++17 mode.
+
PR libstdc++/79075
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
Make _If_sv private.
diff --git a/libstdc++-v3/include/profile/base.h b/libstdc++-v3/include/profile/base.h
index e6ba43e..7e1a6a8 100644
--- a/libstdc++-v3/include/profile/base.h
+++ b/libstdc++-v3/include/profile/base.h
@@ -31,7 +31,6 @@
#ifndef _GLIBCXX_PROFILE_BASE_H
#define _GLIBCXX_PROFILE_BASE_H 1
-#include <functional>
#include <profile/impl/profiler.h>
// Profiling mode namespaces.