Move Tag to separate translation unit

- Avoid code duplication
- Reduces compile time
This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 11:55:24 +01:00
parent 934e9fb683
commit b7f56a219f
16 changed files with 170 additions and 293 deletions

View File

@@ -21,9 +21,6 @@
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/uuid/uuid_io.hpp>
#endif
#include <Base/Console.h>
#include <Base/PyWrapParseTupleAndKeywords.h>
@@ -146,7 +143,7 @@ void CenterLinePy::setFormat(Py::Dict arg)
Py::String CenterLinePy::getTag() const
{
std::string tmp = boost::uuids::to_string(getCenterLinePtr()->getTag());
std::string tmp = getCenterLinePtr()->getTagAsString();
return Py::String(tmp);
}