X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4fcd60c72f6b90f5063f7000ff5a80a9004055a3:/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