Moving a few defaults into the class def.

This commit is contained in:
Patrick Shriwise 2019-06-13 23:09:26 -05:00
parent daf129f1ec
commit 89c0d06b30
2 changed files with 8 additions and 8 deletions

View file

@ -28,8 +28,6 @@ namespace openmc {
// Constants
//==============================================================================
const RGBColor WHITE {255, 255, 255};
const RGBColor RED {255, 0, 0};
constexpr int PLOT_LEVEL_LOWEST {-1}; //!< lower bound on plot universe level
constexpr int32_t NOT_FOUND {-2};
@ -291,9 +289,6 @@ Plot::set_bg_color(pugi::xml_node plot_node)
<< id_;
fatal_error(err_msg);
}
} else {
// default to a white background
not_found_ = WHITE;
}
}