mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 07:32:39 -07:00
Const correctness improvements:
removed some unnecessary const_casts that remove const.
This commit is contained in:
@@ -205,7 +205,7 @@ size_t Index::load(const boost::filesystem::path &path)
|
||||
#endif
|
||||
++ idx_line;
|
||||
// Skip the initial white spaces.
|
||||
char *key = left_trim(const_cast<char*>(line.data()));
|
||||
char *key = left_trim(line.data());
|
||||
if (*key == '#')
|
||||
// Skip a comment line.
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user