Skip to content

Commit b483b46

Browse files
committed
AngPhase: Remove the 'MaterialName' and 'Formula' from the parsed phase information
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
1 parent 171967d commit b483b46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/EbsdLib/IO/TSL/AngPhase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ AngPhase::~AngPhase() = default;
112112
void AngPhase::parseMaterialName(std::vector<std::string>& tokens)
113113
{
114114
m_MaterialName.clear();
115+
tokens.erase(tokens.begin());
115116
for(const auto& token : tokens)
116117
{
117118
m_MaterialName += token + " ";
@@ -124,6 +125,7 @@ void AngPhase::parseMaterialName(std::vector<std::string>& tokens)
124125
void AngPhase::parseFormula(std::vector<std::string>& tokens)
125126
{
126127
m_Formula.clear();
128+
tokens.erase(tokens.begin());
127129
for(const auto& token : tokens)
128130
{
129131
m_Formula += token + " ";

0 commit comments

Comments
 (0)