diff options
| author | Oz Linden <oz@lindenlab.com> | 2015-04-07 17:28:05 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2015-04-07 17:28:05 -0400 |
| commit | 3a57b18896eacb6fea6680d0eccaaeddb0b700b0 (patch) | |
| tree | 70ca4bccbb2fe28ab5232d920a94fd0246f1b8ad /indra/llimage/llimage.cpp | |
| parent | 66bc5107863e8226e91818cd9d3c075d0514dbe5 (diff) | |
convert llifstream and llofstream to std::ifstream and std::ofstream respectively
Diffstat (limited to 'indra/llimage/llimage.cpp')
| -rwxr-xr-x | indra/llimage/llimage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index ecdcd95d29..16df27bb8e 100755 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -1172,7 +1172,7 @@ static std::string find_file(std::string &name, S8 *codec) for (int i=0; i<(int)(NUM_FILE_EXTENSIONS); i++) { tname = name + "." + std::string(file_extensions[i].exten); - llifstream ifs(tname, llifstream::binary); + llifstream ifs(tname.c_str(), llifstream::binary); if (ifs.is_open()) { ifs.close(); @@ -1219,7 +1219,7 @@ bool LLImageRaw::createFromFile(const std::string &filename, bool j2c_lowest_mip return false; // format not recognized } - llifstream ifs(name, llifstream::binary); + llifstream ifs(name.c_str(), llifstream::binary); if (!ifs.is_open()) { // SJB: changed from LL_INFOS() to LL_DEBUGS() to reduce spam |
