* Technically this duplicates a definition in pargs.cpp for legacy
* support code, but as the latter will go away and the alternatives
* are ugly, the duplication is acceptable. */
-const gmx::EnumerationArray<XvgFormat, const char*> c_xvgFormatNames = { { "xmgrace", "xmgr",
- "none" } };
+const gmx::EnumerationArray<XvgFormat, const char*> c_xvgFormatNames = {
+ { "xmgrace", "xmgr", "none" }
+};
void AnalysisDataPlotSettings::initOptions(IOptionsContainer* options)
{
gmx_output_env_t* oenv;
output_env_init(&oenv, getProgramContext(), timeUnit, FALSE, xvgFormat, 0);
const unique_cptr<gmx_output_env_t, output_env_done> oenvGuard(oenv);
- impl_->fp_ = xvgropen(impl_->filename_.c_str(), impl_->title_.c_str(), impl_->xlabel_,
- impl_->ylabel_, oenv);
+ impl_->fp_ = xvgropen(
+ impl_->filename_.c_str(), impl_->title_.c_str(), impl_->xlabel_, impl_->ylabel_, oenv);
const SelectionCollection* selections = impl_->settings_.selectionCollection();
if (selections != nullptr && output_env_get_xvg_format(oenv) != XvgFormat::None)
{