Fix Solaris compile due to StreamState

"validate.h", line 155: Error: Overloading ambiguity between "std::ios::basic_ios(std::streambuf *)" and "std::ios::basic_ios(int)".
pull/398/head
Jeffrey Walton 2017-03-24 23:24:46 -04:00
parent effe103641
commit 661ddad1f2
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 3 additions and 1 deletions

View File

@ -121,7 +121,7 @@ bool TestHuffmanCodes();
bool TestASN1Parse();
#endif
#if 0
#if 1
// Coverity findings in benchmark and validation routines
class StreamState
{
@ -148,6 +148,7 @@ private:
};
#endif
#if 0
class StreamState
{
public:
@ -166,6 +167,7 @@ private:
std::ostream& m_out;
std::ios m_state;
};
#endif
// Safer functions on Windows for C&A, https://github.com/weidai11/cryptopp/issues/55
static std::string TimeToString(const time_t& t)