mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Const correctness improvements:
removed some unnecessary const_casts that remove const.
This commit is contained in:
1 parent
30f7a2b8e5
commit
9406b50447
13 files changed
+41
-40
No files matched your search
@@ -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