void set_pitch(size_t pitch) { _pitch = pitch; }
size_t get_x() { return _x; }
- void set_x(size_t x) { _x = x; };
+ void set_x(size_t x) { _x = x; }
size_t get_y() { return _y; }
void set_y(size_t y) { _y = y; }
#error "Only support Windows and Linux."
#endif
next_free = mapped_address_space;
- };
+ }
public:
using buffer_id_t = int;
#else
#error "Only support Windows and Linux."
#endif
- };
+ }
mem_mgr(const mem_mgr &) = delete;
mem_mgr &operator=(const mem_mgr &) = delete;