functexcept.cc: Do not include the whole <regex>.

2013-07-31  Paolo Carlini  <paolo.carlini@oracle.com>

	* src/c++11/functexcept.cc: Do not include the whole <regex>.
	* src/c++11/regex.cc: Likewise.

From-SVN: r201369
This commit is contained in:
Paolo Carlini 2013-07-31 12:36:37 +00:00 committed by Paolo Carlini
parent d6e9046de6
commit a781834e44
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-07-31 Paolo Carlini <paolo.carlini@oracle.com>
* src/c++11/functexcept.cc: Do not include the whole <regex>.
* src/c++11/regex.cc: Likewise.
2013-07-31 Tim Shen <timshen91@gmail.com>
Revert last commit.

View File

@ -30,7 +30,7 @@
#include <system_error>
#include <future>
#include <functional>
#include <regex>
#include <bits/regex_error.h>
#ifdef _GLIBCXX_USE_NLS
# include <libintl.h>

View File

@ -22,7 +22,8 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
#include <regex>
#include <stdexcept>
#include <bits/regex_error.h>
namespace std _GLIBCXX_VISIBILITY(default)
{