We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b7328d + 2d7ae51 commit 4ab3f27Copy full SHA for 4ab3f27
openvdb/openvdb/io/Archive.cc
@@ -554,6 +554,7 @@ MappedFile::filename() const
554
SharedPtr<std::streambuf>
555
MappedFile::createBuffer() const
556
{
557
+#ifndef _WIN32
558
if (!mImpl->mAutoDelete && mImpl->mLastWriteTime > 0) {
559
// Warn if the file has been modified since it was opened
560
// (but don't bother checking if it is a private, temporary file).
@@ -563,6 +564,7 @@ MappedFile::createBuffer() const
563
564
mImpl->mLastWriteTime = 0; // suppress further warnings
565
}
566
567
+#endif
568
569
return SharedPtr<std::streambuf>{
570
new boost::iostreams::stream_buffer<boost::iostreams::array_source>{
0 commit comments