Commit e3fa7266 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Cleanup debugging messages in release builds when streaming.

parent a83f1716
......@@ -20,7 +20,13 @@
#ifndef __vtkPVStreamingMacros_h
#define __vtkPVStreamingMacros_h
#define vtkStreamingStatusMacro(x)\
#ifndef NDEBUG
// vtkStreamingStatusMacro simply prints out debugging text. We define the macro
// as empty when NDEBUG is defined (i.e. building in release mode).
# define vtkStreamingStatusMacro(x)\
cout << "streaming: " x << endl;
#else
# define vtkStreamingStatusMacro(x)
#endif
#endif
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