16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 11:39:19 +02:00

maintenance: memory leak fix, default constructors, minor syntax cleanups

This commit is contained in:
tmj-fstate
2018-06-16 15:59:28 +02:00
parent ef5811e6c0
commit 14448d70d1
18 changed files with 74 additions and 61 deletions

View File

@@ -10,8 +10,8 @@ struct ui_panel {
struct text_line {
glm::vec4 color;
std::string data;
glm::vec4 color;
text_line( std::string const &Data, glm::vec4 const &Color):
data(Data), color(Color)
@@ -33,7 +33,7 @@ public:
// parameters:
// constructors:
ui_layer() = default;
// destructor:
~ui_layer();