]> git.mxchange.org Git - flightgear.git/blobdiff - src/Environment/fgclouds.hxx
Fix line endings
[flightgear.git] / src / Environment / fgclouds.hxx
index c078d0f01113ebe546de029e991b6b98b5cdffd3..519f229c5d34ab8561dda8fd97ba64f040f449c9 100644 (file)
@@ -42,18 +42,18 @@ class FGEnvironmentCtrl;
 class FGClouds {
 
 private:
-       SGNewCloud *buildCloud(SGPropertyNode *cloud_def_root, string name);
-       void buildLayer(SGCloudField *layer, string name, double alt, double coverage);
+       SGNewCloud *buildCloud(SGPropertyNode *cloud_def_root, const string& name);
+       void buildLayer(SGCloudField *layer, const string& name, double alt, double coverage);
 
        void buildMETAR(void);
 
-       void buildScenario( string scenario );
+       void buildScenario( const string& scenario );
 
-       void setLayer( int iLayer, float alt_m, string coverage, string layer_type );
+       void setLayer( int iLayer, float alt_m, const string& coverage, const string& layer_type );
 
-       void update_metar_properties( FGMetar *m );
+       void update_metar_properties( const FGMetar *m );
 
-       void FGClouds::update_env_config ();
+       void update_env_config ();
 
        int update_event;
        SGSoundSample *snd_lightning;