mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-16 07:30:28 +01:00
Fix Clang compilation.
Apparently ofstream.open() only takes a char const * and not a std::string in Clang++;
This commit is contained in:
parent
4752832fe8
commit
ae5a1b8fbe
|
@ -278,7 +278,7 @@ void TileGenerator::generate(const std::string &input, const std::string &output
|
|||
mfn << "metadata_" << output << ".txt";
|
||||
std::ofstream mf;
|
||||
|
||||
mf.open(mfn.str());
|
||||
mf.open(mfn.str().c_str());
|
||||
|
||||
mf << "BaseName: " << output << std::endl;
|
||||
mf << "NumTiles: " << m_numTilesX << " " << m_numTilesY << std::endl;
|
||||
|
|
Loading…
Reference in New Issue
Block a user