Skip to content
Permalink
Browse files

Fix msvc compile error

  • Loading branch information...
jacob1 committed Mar 31, 2019
1 parent c8960d1 commit 58a3411255df1b18153e4a3865cfabfd0b17b9ee
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/simulation/Sign.cpp
@@ -116,11 +116,11 @@ String sign::getText(Simulation *sim)
}
else if (between_curlies == "type")
{
formatted_text << (part ? sim->BasicParticleInfo(*part) : (formatted_text.Size() ? "empty" : "Empty"));
formatted_text << (part ? sim->BasicParticleInfo(*part) : (formatted_text.Size() ? String::Build("empty") : String::Build("Empty")));
}
else if (between_curlies == "ctype")
{
formatted_text << ((part && part->ctype && sim->IsValidElement(part->ctype)) ? sim->ElementResolve(part->ctype, -1) : (formatted_text.Size() ? "empty" : "Empty"));
formatted_text << ((part && part->ctype && sim->IsValidElement(part->ctype)) ? sim->ElementResolve(part->ctype, -1) : (formatted_text.Size() ? String::Build("empty") : String::Build("Empty")));
}
else if (between_curlies == "life")
{

0 comments on commit 58a3411

Please sign in to comment.
You can’t perform that action at this time.