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
parent
effe103641
commit
661ddad1f2
|
|
@ -121,7 +121,7 @@ bool TestHuffmanCodes();
|
||||||
bool TestASN1Parse();
|
bool TestASN1Parse();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
// Coverity findings in benchmark and validation routines
|
// Coverity findings in benchmark and validation routines
|
||||||
class StreamState
|
class StreamState
|
||||||
{
|
{
|
||||||
|
|
@ -148,6 +148,7 @@ private:
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
class StreamState
|
class StreamState
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
@ -166,6 +167,7 @@ private:
|
||||||
std::ostream& m_out;
|
std::ostream& m_out;
|
||||||
std::ios m_state;
|
std::ios m_state;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
// Safer functions on Windows for C&A, https://github.com/weidai11/cryptopp/issues/55
|
// Safer functions on Windows for C&A, https://github.com/weidai11/cryptopp/issues/55
|
||||||
static std::string TimeToString(const time_t& t)
|
static std::string TimeToString(const time_t& t)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue