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