Commits

C. Enrique Garcia Dabo authored 5627bfe5057
Remove the configuration parameter since it is not used

The HanningSmoothTVI no longer makes any use of the configuration parameter. Fixes partially CAS-9679
No tags

code/mstransform/TVI/HanningSmoothTVI.cc

Modified
27 27
28 28 namespace vi { //# NAMESPACE VI - BEGIN
29 29
30 30 //////////////////////////////////////////////////////////////////////////
31 31 // HanningSmoothTVI class
32 32 //////////////////////////////////////////////////////////////////////////
33 33
34 34 // -----------------------------------------------------------------------
35 35 //
36 36 // -----------------------------------------------------------------------
37 -HanningSmoothTVI::HanningSmoothTVI( ViImplementation2 * inputVii,
38 - const Record &configuration):
39 - ConvolutionTVI (inputVii,configuration)
37 +HanningSmoothTVI::HanningSmoothTVI( ViImplementation2 * inputVii):
38 + ConvolutionTVI (inputVii)
40 39 {
41 40 initialize();
42 41
43 42 return;
44 43 }
45 44
46 45 // -----------------------------------------------------------------------
47 46 //
48 47 // -----------------------------------------------------------------------
49 48 void HanningSmoothTVI::initialize()
56 55 return;
57 56 }
58 57
59 58 //////////////////////////////////////////////////////////////////////////
60 59 // ConvolutionTVIFactory class
61 60 //////////////////////////////////////////////////////////////////////////
62 61
63 62 // -----------------------------------------------------------------------
64 63 //
65 64 // -----------------------------------------------------------------------
66 -HanningSmoothTVIFactory::HanningSmoothTVIFactory ( Record &configuration,
67 - ViImplementation2 *inputVii)
65 +HanningSmoothTVIFactory::HanningSmoothTVIFactory (ViImplementation2 *inputVii)
68 66 {
69 67 inputVii_p = inputVii;
70 - configuration_p = configuration;
71 68 }
72 69
73 70 // -----------------------------------------------------------------------
74 71 //
75 72 // -----------------------------------------------------------------------
76 73 vi::ViImplementation2 * HanningSmoothTVIFactory::createVi(VisibilityIterator2 *) const
77 74 {
78 - return new HanningSmoothTVI(inputVii_p,configuration_p);
75 + return new HanningSmoothTVI(inputVii_p);
79 76 }
80 77
81 78 // -----------------------------------------------------------------------
82 79 //
83 80 // -----------------------------------------------------------------------
84 81 vi::ViImplementation2 * HanningSmoothTVIFactory::createVi() const
85 82 {
86 - return new HanningSmoothTVI(inputVii_p,configuration_p);
83 + return new HanningSmoothTVI(inputVii_p);
87 84 }
88 85
89 86 } //# NAMESPACE VI - END
90 87
91 88 } //# NAMESPACE CASA - END
92 89
93 90

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

Add shortcut