Convert preprocessor #define to constexpr int

This commit is contained in:
heinrich5991 2022-06-27 16:30:16 +02:00 committed by Dennis Felsing
parent 44eb321d96
commit 4292c9ed77

View file

@ -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
{ {