diff options
| author | mutantturkey <mutantturke@gmail.com> | 2012-08-02 22:58:13 -0400 | 
|---|---|---|
| committer | mutantturkey <mutantturke@gmail.com> | 2012-08-02 22:58:13 -0400 | 
| commit | a6cd84920c3255fd2ba2370e20023e8f5264daec (patch) | |
| tree | 11212a696abb27933c4cbee33c9d9f521aeb0ea7 /fly-tools/FlyTrackingMain.cpp | |
| parent | 1e62c15add0f39843b04c6713606b911af3d77b6 (diff) | |
user ternary operator for verbose logging, a bit cleaner
Diffstat (limited to 'fly-tools/FlyTrackingMain.cpp')
| -rw-r--r-- | fly-tools/FlyTrackingMain.cpp | 7 | 
1 files changed, 1 insertions, 6 deletions
| diff --git a/fly-tools/FlyTrackingMain.cpp b/fly-tools/FlyTrackingMain.cpp index 446cc96..76dfa5c 100644 --- a/fly-tools/FlyTrackingMain.cpp +++ b/fly-tools/FlyTrackingMain.cpp @@ -1918,12 +1918,7 @@ int main(int argc, char **argv)          break;      } - -  if(verbose) { -    output = &cout; -  }	else { -    output = &nullLog;  -  } +  (verbose) ? output = &cout : output = &nullLog;     *output << "verbose logging out" << endl; | 
