X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..c48792de4abe190910c0cb212c5df44d2ef87a7e:/demos/life/reader.cpp diff --git a/demos/life/reader.cpp b/demos/life/reader.cpp index 8bb48ed375..4d348ef402 100644 --- a/demos/life/reader.cpp +++ b/demos/life/reader.cpp @@ -45,8 +45,8 @@ LifeReader::LifeReader(wxInputStream& is) { - wxBufferedInputStream buff_is = wxBufferedInputStream(is); - wxTextInputStream text_is = wxTextInputStream(buff_is); + wxBufferedInputStream buff_is(is); + wxTextInputStream text_is(buff_is); wxString line, rest; // check stream