Points: modernize C++11

* remove redundant void-arg
* use nullptr
This commit is contained in:
wmayer
2022-01-26 17:53:41 +01:00
parent 4b788d0413
commit 4398ae54dd
19 changed files with 118 additions and 117 deletions

View File

@@ -980,7 +980,7 @@ void PcdReader::read(const std::string& filename)
std::vector<char> uncompressed(u);
if (lzfDecompress(&compressed[0], c, &uncompressed[0], u) == u) {
DataStreambuf ibuf(uncompressed);
std::istream istr(0);
std::istream istr(nullptr);
istr.rdbuf(&ibuf);
readBinary(true, istr, types, sizes, data);
}