forked from organicmaps/organicmaps
Fix compilation (2nd try).
This commit is contained in:
parent
b506aacbb6
commit
8cf2cb5d22
2 changed files with 5 additions and 4 deletions
|
@ -7,9 +7,9 @@
|
|||
#include "../../base/start_mem_debug.hpp"
|
||||
|
||||
|
||||
FileWriter::FileWriter(FileWriter & rhs)
|
||||
FileWriter::FileWriter(FileWriter const & rhs)
|
||||
{
|
||||
m_pFileData.swap(rhs.m_pFileData);
|
||||
m_pFileData.swap(const_cast<FileWriter &>(rhs).m_pFileData);
|
||||
}
|
||||
|
||||
FileWriter::FileWriter(string const & fileName, FileWriter::Op op)
|
||||
|
|
|
@ -20,9 +20,10 @@ public:
|
|||
// Append to a file. Writing operations append data at the end of the file.
|
||||
// The file is created if it does not exist.
|
||||
// Seek should not be called, if file is opened for append.
|
||||
OP_APPEND = 3};
|
||||
OP_APPEND = 3
|
||||
};
|
||||
|
||||
FileWriter(FileWriter & rhs);
|
||||
FileWriter(FileWriter const & rhs);
|
||||
|
||||
explicit FileWriter(string const & fileName, Op operation = OP_WRITE_TRUNCATE);
|
||||
~FileWriter();
|
||||
|
|
Loading…
Add table
Reference in a new issue