mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Convert preprocessor #define
to constexpr int
This commit is contained in:
parent
44eb321d96
commit
4292c9ed77
|
@ -7,8 +7,8 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#define CMD_BUFFER_DATA_BUFFER_SIZE 1024 * 1024 * 2
|
constexpr int CMD_BUFFER_DATA_BUFFER_SIZE = 1024 * 1024 * 2;
|
||||||
#define CMD_BUFFER_CMD_BUFFER_SIZE 1024 * 256
|
constexpr int CMD_BUFFER_CMD_BUFFER_SIZE = 1024 * 256;
|
||||||
|
|
||||||
class CCommandBuffer
|
class CCommandBuffer
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue