summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-13 17:20:23 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-01-13 17:20:23 +0000
commit76b7cfed9445a8835ccacfd6b6d21c085346aacd (patch)
tree909d95c480e8f2d13e77023b4422e8b59ac19749
parentbefbf2df6574e9352ec66351c0ac6611221ca0df (diff)
downloadgcc-76b7cfed9445a8835ccacfd6b6d21c085346aacd.tar.gz
Remove unused include from Profile Mode header
* include/profile/base.h: Remove unused header that leads to header cycle in C++17 mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@244449 138bc75d-0d04-0410-961f-82ee72b054a4
-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 969e6e9c6c9..79dc7537537 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 e6ba43e0ba7..7e1a6a866e2 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.