Remove unused include from Profile Mode header
authorJonathan Wakely <jwakely@redhat.com>
Fri, 13 Jan 2017 17:20:23 +0000 (17:20 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 Jan 2017 17:20:23 +0000 (17:20 +0000)
* include/profile/base.h: Remove unused header that leads to header
cycle in C++17 mode.

From-SVN: r244449

libstdc++-v3/ChangeLog
libstdc++-v3/include/profile/base.h

index 969e6e9c6c96b3475e527b762c59d75d94a8d96f..79dc7537537f76d69fb9ee3c6782612f3ecdd4ff 100644 (file)
@@ -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.
index e6ba43e0ba7d8ff022d7476b8300e2adf19204a2..7e1a6a866e2d21d043a3c58f8b6cdd95b9e20d8c 100644 (file)
@@ -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.