Keep pointer to PrintConfig instead of copying it.

This commit is contained in:
Y. Sapir 2014-04-28 00:03:22 +03:00
parent c2b249d059
commit d824de6168
2 changed files with 3 additions and 4 deletions

View file

@ -23,8 +23,7 @@ class Extruder
double retracted;
double restart_extra;
// TODO: maybe better to keep a reference to an existing object than copy it
PrintConfig config;
PrintConfig *config;
};
}