Commit d1590646 authored by Mathieu Giraud's avatar Mathieu Giraud

core/output.cpp: extract constants AIRR_{FALSE,TRUE}

parent 1ef91e19
#include "output.h"
#define NULL_VAL ""
#define AIRR_TRUE "T"
#define AIRR_FALSE "F"
string getout(json v)
{
......@@ -149,8 +151,8 @@ void SampleOutputVidjil::out(ostream &s, bool with_clones)
string TF_format_bool(string val)
{
if (val == "false") return "F" ;
if (val == "true") return "T" ;
if (val == "false") return AIRR_FALSE ;
if (val == "true") return AIRR_TRUE ;
return val ;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment