Commits

C. Enrique Garcia Dabo authored a6bf071d363
Use #ifdef USE_GRPC to guard the gRPC-dependant code.

This removes the #ifdef CASATOOLS guards that can be now considered obsolete. Fixes partially CAS-13867
No tags

casatools/src/code/casatools/Config/State.h

Modified
38 38 #include <casatools/Proc/Registrar.h>
39 39
40 40 namespace casatools { /** namespace for CASAtools classes within "CASA code" **/
41 41
42 42 class State: public casacore::AppState {
43 43 public:
44 44
45 45 State( ) { }
46 46
47 47 virtual bool initialized( ) const {
48 -#if defined(CASATOOLS)
48 +#ifdef USE_GRPC
49 49 return true;
50 50 #else
51 51 return false;
52 52 #endif
53 53 }
54 54
55 55 virtual std::list<std::string> dataPath( ) const {
56 56 return data_path;
57 57 }
58 58

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut