From 268cb5fbd346d29502f63cd79572a817ed117c46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 26 Apr 2017 10:39:43 +0200 Subject: [PATCH] Alembic: fixed C++98 compatibility --- source/blender/alembic/intern/abc_archive.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/alembic/intern/abc_archive.cc b/source/blender/alembic/intern/abc_archive.cc index cdbda0ace69..194a8224c62 100644 --- a/source/blender/alembic/intern/abc_archive.cc +++ b/source/blender/alembic/intern/abc_archive.cc @@ -68,7 +68,7 @@ static IArchive open_archive(const std::string &filename, #else /* Inspect the file to see whether it's really a HDF5 file. */ char header[4]; /* char(0x89) + "HDF" */ - std::ifstream the_file(filename, std::ios::in | std::ios::binary); + std::ifstream the_file(filename.c_str(), std::ios::in | std::ios::binary); if (!the_file) { std::cerr << "Unable to open " << filename << std::endl; }