Comment out an improperly written constructor.

This commit is contained in:
curt 2004-02-23 01:34:31 +00:00
parent 3fdeea7f65
commit 99bf2c6f9e

View File

@ -148,7 +148,12 @@ protected:
class SGMetar { class SGMetar {
public: public:
SGMetar(const char *m); SGMetar(const char *m);
SGMetar(const string m) { SGMetar(m.c_str()); }
// The following contructor is tempting, but it is not
// correct, it creates an anonymous instance of SGMetar and
// then immediately throws it away.
// SGMetar(const string m) { SGMetar(m.c_str()); }
~SGMetar(); ~SGMetar();
enum ReportType { enum ReportType {