Add newline to end of files

This commit is contained in:
Joshua Ashton 2020-08-01 00:57:33 +01:00
parent 553b9e72f8
commit 392688ad2c
22 changed files with 22 additions and 22 deletions

View File

@ -11,4 +11,4 @@ constexpr unsigned long long operator"" KB(unsigned long long l)
#define abstract __declspec(novtable) #define abstract __declspec(novtable)
#else #else
#define abstract #define abstract
#endif #endif

View File

@ -22,4 +22,4 @@ namespace Feather
template <typename T> template <typename T>
using LockableList = Lockable<std::list<T>>; using LockableList = Lockable<std::list<T>>;
} }

View File

@ -15,4 +15,4 @@ namespace Feather
{ {
m_client.Write(message.GetData(), message.GetDataSize()); m_client.Write(message.GetData(), message.GetDataSize());
} }
} }

View File

@ -21,4 +21,4 @@ namespace Feather
Network::TCPClient m_client; Network::TCPClient m_client;
ProtocolContext m_context; ProtocolContext m_context;
}; };
} }

View File

@ -184,4 +184,4 @@ namespace Feather
m_startOffset = startIndex; m_startOffset = startIndex;
} }
}; };
} }

View File

@ -77,4 +77,4 @@ namespace Feather
const uint32_t m_length; const uint32_t m_length;
}; };
} }

View File

@ -14,4 +14,4 @@ namespace Feather
}; };
constexpr uint8_t LegacyServerListPing = 0xFE; constexpr uint8_t LegacyServerListPing = 0xFE;
} }

View File

@ -109,4 +109,4 @@ namespace Feather
} }
} }
} }
} }

View File

@ -35,4 +35,4 @@ namespace Feather
return j.str(); return j.str();
} }
}; };
} }

View File

@ -44,4 +44,4 @@ namespace Feather
{ {
return std::stoll(Get<string>(key)); return std::stoll(Get<string>(key));
} }
} }

View File

@ -18,4 +18,4 @@ namespace Feather
protected: protected:
unordered_map<string, string> properties; unordered_map<string, string> properties;
}; };
} }

View File

@ -69,4 +69,4 @@ namespace Feather
{ {
return value ? "true" : "false"; return value ? "true" : "false";
} }
} }

View File

@ -137,4 +137,4 @@ namespace Feather
file << "\n"; file << "\n";
file.close(); file.close();
} }
} }

View File

@ -124,4 +124,4 @@ namespace Feather
private: private:
const char* path; const char* path;
}; };
} }

View File

@ -20,4 +20,4 @@ executable('FeatherMC', feather_src,
include_directories : include_directories('.'), include_directories : include_directories('.'),
install : true, install : true,
install_dir : meson.source_root() + '/bin', install_dir : meson.source_root() + '/bin',
override_options : [ 'cpp_std=' + feather_cpp_std ]) override_options : [ 'cpp_std=' + feather_cpp_std ])

View File

@ -12,4 +12,4 @@ namespace Feather::Network
virtual void OnClientConnect(TCPClient&& client) = 0; virtual void OnClientConnect(TCPClient&& client) = 0;
virtual void OnClientDisconnect(const TCPClient& client) = 0; virtual void OnClientDisconnect(const TCPClient& client) = 0;
}; };
} }

View File

@ -56,4 +56,4 @@ namespace Feather::Network
{ {
event_base_loop(m_eventBase, EVLOOP_NO_EXIT_ON_EMPTY); event_base_loop(m_eventBase, EVLOOP_NO_EXIT_ON_EMPTY);
} }
} }

View File

@ -23,4 +23,4 @@ namespace Feather::Network
std::thread m_eventThread; std::thread m_eventThread;
}; };
} }

View File

@ -235,4 +235,4 @@ namespace Feather::Network
TCPListener::~TCPListener() TCPListener::~TCPListener()
{ {
} }
} }

View File

@ -37,4 +37,4 @@ namespace Feather::Network
}; };
} }

View File

@ -10,4 +10,4 @@ namespace Feather::StringUtil
return true; return true;
return false; return false;
} }
} }

View File

@ -60,4 +60,4 @@ namespace Feather::StringUtil
trim(s); trim(s);
return s; return s;
} }
} }