mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 21:49:19 +02:00
reformat: set variables to constexpr where possible
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
|
||||
namespace network::tcp
|
||||
{
|
||||
const uint32_t NETWORK_MAGIC = 0x37305545;
|
||||
const uint32_t MAX_MSG_SIZE = 100000;
|
||||
constexpr uint32_t NETWORK_MAGIC = 0x37305545;
|
||||
constexpr uint32_t MAX_MSG_SIZE = 100000;
|
||||
|
||||
class connection : public network::connection
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "application/application.h"
|
||||
#include "utilities/Globals.h"
|
||||
|
||||
std::uint32_t const EU07_NETWORK_VERSION = 2;
|
||||
constexpr std::uint32_t EU07_NETWORK_VERSION = 2;
|
||||
|
||||
namespace network {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user