Fix for how uv writes work on linux (they don't copy the buffer automatically) which should enable actually logging in on linux now

This commit is contained in:
KimLS
2016-11-02 18:45:05 -07:00
parent 90443891d6
commit 53beefd19b
5 changed files with 29 additions and 15 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ namespace EQ {
virtual size_t Length() const { return m_data.size(); }
virtual size_t Length() { return m_data.size(); }
virtual bool Clear() { m_data.clear(); return true; }
virtual bool Resize(size_t new_size) { m_data.resize(new_size); return true; }
virtual bool Resize(size_t new_size) { m_data.resize(new_size, 0); return true; }
virtual void Reserve(size_t new_size) { m_data.reserve(new_size); }
protected:
std::vector<char> m_data;