From: Jay Freeman (saurik) Date: Wed, 15 Sep 2021 03:01:28 +0000 (-0700) Subject: The comment says to use a nullbuf, so let's do it! X-Git-Tag: v2.1.5 X-Git-Url: https://git.saurik.com/ldid.git/commitdiff_plain/refs/tags/v2.1.5 The comment says to use a nullbuf, so let's do it! --- diff --git a/ldid.cpp b/ldid.cpp index 3411e59..0d4cb73 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -2503,8 +2503,7 @@ void DiskFolder::Find(const std::string &root, const std::string &base, const Fu void DiskFolder::Save(const std::string &path, bool edit, const void *flag, const Functor &code) { if (!edit) { - // XXX: use nullbuf - std::stringbuf save; + NullBuffer save; code(save); } else { std::filebuf save;