]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariff_impl.h
Explicit constructor initialization for the base class added
[stg.git] / projects / stargazer / tariff_impl.h
index b8d0a776d729407a206cebe5d5110b1ab99933a6..cdfd711243f8d8d5fbe34588384f71287384a8d7 100644 (file)
 class TARIFF_IMPL : public TARIFF {
 public:
     TARIFF_IMPL()
-        : tariffData()
+        : TARIFF(),
+          tariffData()
     {};
     TARIFF_IMPL(const std::string & name)
-        : tariffData(name)
+        : TARIFF(),
+          tariffData(name)
     {};
     TARIFF_IMPL(const TARIFF_DATA & td)
-        : tariffData(td)
+        : TARIFF(),
+          tariffData(td)
     {};
     TARIFF_IMPL(const TARIFF_IMPL & t)
-        : tariffData(t.tariffData)
+        : TARIFF(),
+          tariffData(t.tariffData)
     {};
     virtual ~TARIFF_IMPL() {};