Skip to content

Commit

Permalink
seg fault fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amystamile-usgs committed Sep 20, 2024
1 parent da1e7be commit f8be336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isis/src/base/objs/CubeAttribute/CubeAttribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ namespace Isis {
* FileName("out.cub+Bsq")
*/
void addAttributes(const FileName &fileNameWithAtts) {
addAttributes(fileNameWithAtts.attributes());
addAttributes(QString::fromStdString(fileNameWithAtts.attributes()));
}


Expand All @@ -231,7 +231,7 @@ namespace Isis {
* "+Bsq+Real" or "Bsq+Real"
*/
void addAttributes(const char *attributesString) {
addAttributes(std::string(attributesString));
addAttributes(QString(attributesString));
}


Expand Down

0 comments on commit f8be336

Please sign in to comment.