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