Commit bf3c1e18 authored by unknown's avatar unknown

ndb -

  more compiler warnings...


storage/ndb/include/util/InputStream.hpp:
  more warnings
parent 6c9618d1
......@@ -25,6 +25,7 @@
*/
class InputStream {
public:
virtual ~InputStream() {}
virtual char* gets(char * buf, int bufLen) = 0;
};
......@@ -32,6 +33,7 @@ class FileInputStream : public InputStream {
FILE * f;
public:
FileInputStream(FILE * file = stdin);
virtual ~FileInputStream() {}
char* gets(char * buf, int bufLen);
};
......@@ -42,6 +44,7 @@ class SocketInputStream : public InputStream {
unsigned m_timeout;
public:
SocketInputStream(NDB_SOCKET_TYPE socket, unsigned readTimeout = 1000);
virtual ~SocketInputStream() {}
char* gets(char * buf, int bufLen);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment