int remove(Flow*);
private:
- const unsigned cleanup_flows = 1;
+ static const unsigned cleanup_flows = 1;
const FlowConfig& config;
unsigned uni_count;
uint32_t flags;
private:
ObSet blocks;
iterator it;
- const char mask_char = 'X';
+ static const char mask_char = 'X';
};
#endif
bool prev_empty;
bool header; // true if a string was passed into constructor
enum CommentType type;
- const std::size_t max_line_length = 80;
- const std::string comment_line = "--";
- const std::string start_multi_com = "--[[";
- const std::string end_multi_com = "--]]";
+ static const std::size_t max_line_length = 80;
+ static constexpr const char* comment_line = "--";
+ static constexpr const char* start_multi_com = "--[[";
+ static constexpr const char* end_multi_com = "--]]";
};
#endif
std::vector<VarData*> vars;
std::string name;
int depth;
- const std::size_t max_line_length = 77; // leave room for additional text
+ static const std::size_t max_line_length = 77; // leave room for additional text
};
#endif