Skip to content

Commit 1b51991

Browse files
committed
minor fix
1 parent 3d50fd0 commit 1b51991

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

GraphvizWrapper/GraphvizWrapper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ using namespace std;
2525

2626
static int rj_afread(void* stream, char* buffer, int bufsize)
2727
{
28-
istringstream* is = (istringstream*)stream;
28+
istream* is = (istream*)stream;
2929
is->read(buffer, bufsize);
3030
int result = (int)is->gcount();
3131
return result;
3232
}
3333

3434
static int rj_putstr(void* stream, const char* s)
3535
{
36-
ostringstream* os = (ostringstream*)stream;
36+
ostream* os = (ostream*)stream;
3737
(*os) << s;
3838
return 0;
3939
}
4040

4141
static int rj_flush(void* stream)
4242
{
43-
ostringstream* os = (ostringstream*)stream;
43+
ostream* os = (ostream*)stream;
4444
os->flush();
4545
return 0;
4646
}

0 commit comments

Comments
 (0)