We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d50fd0 commit 1b51991Copy full SHA for 1b51991
1 file changed
GraphvizWrapper/GraphvizWrapper.h
@@ -25,22 +25,22 @@ using namespace std;
25
26
static int rj_afread(void* stream, char* buffer, int bufsize)
27
{
28
- istringstream* is = (istringstream*)stream;
+ istream* is = (istream*)stream;
29
is->read(buffer, bufsize);
30
int result = (int)is->gcount();
31
return result;
32
}
33
34
static int rj_putstr(void* stream, const char* s)
35
36
- ostringstream* os = (ostringstream*)stream;
+ ostream* os = (ostream*)stream;
37
(*os) << s;
38
return 0;
39
40
41
static int rj_flush(void* stream)
42
43
44
os->flush();
45
46
0 commit comments