Minor workarounds for SGI and Darwin platforms.

[SVN r24340]
This commit is contained in:
John Maddock
2004-08-08 09:48:10 +00:00
parent 97d3cdad83
commit 2e968dea9c
3 changed files with 7 additions and 2 deletions

View File

@ -22,8 +22,13 @@
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
#ifdef __sgi
template <class T>
void test_captures(const std::string& regx, const std::string& text, const T& expected)
#else
template <class T>
void test_captures(const std::string& regx, const std::string& text, T& expected)
#endif
{
boost::regex e(regx);
boost::smatch what;