Changeset 216 in svn for trunk/Utilities/Hector/src/H_OpticalElement.cc
- Timestamp:
- Feb 2, 2009, 12:26:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/src/H_OpticalElement.cc
r3 r216 28 28 29 29 /// called by the constructors 30 void H_OpticalElement::init(const string nameE, const int typeE, const double s, const double k, const double l) {30 void H_OpticalElement::init(const string& nameE, const int typeE, const double s, const double k, const double l) { 31 31 // this is called by the constructors 32 32 // must be in public section ! … … 56 56 } 57 57 58 H_OpticalElement::H_OpticalElement(const string nameE, const int typeE, const double s, const double k, const double l) : element_aperture(new H_Aperture()) {58 H_OpticalElement::H_OpticalElement(const string& nameE, const int typeE, const double s, const double k, const double l) : element_aperture(new H_Aperture()) { 59 59 init(nameE,typeE,s,k,l); 60 60 } 61 61 62 H_OpticalElement::H_OpticalElement(const string nameE, const int typeE, const double s, const double k, const double l, H_Aperture* the_app) : element_aperture(the_app->clone()) {62 H_OpticalElement::H_OpticalElement(const string& nameE, const int typeE, const double s, const double k, const double l, H_Aperture* the_app) : element_aperture(the_app->clone()) { 63 63 init(nameE,typeE,s,k,l); 64 64 }
Note:
See TracChangeset
for help on using the changeset viewer.