]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariff_impl.cpp
Check End-Of-Transmission read result
[stg.git] / projects / stargazer / tariff_impl.cpp
index 63164a27bd634f7bf8dd2d48d2a17553f09d3406..bf272f3128a34f9939ba136fa29e68a95044964e 100644 (file)
 #include "stg_timer.h"
 
 //-----------------------------------------------------------------------------
-TARIFF & TARIFF_IMPL::operator=(const TARIFF_DATA & td)
+TARIFF_IMPL & TARIFF_IMPL::operator=(const TARIFF_DATA & td)
 {
 tariffData = td;
 return *this;
 }
 //-----------------------------------------------------------------------------
-TARIFF & TARIFF_IMPL::operator=(const TARIFF & t)
+TARIFF_IMPL & TARIFF_IMPL::operator=(const TARIFF_IMPL & t)
 {
-tariffData = t.GetTariffData();
+tariffData = t.tariffData;
 return *this;
 }
 //-----------------------------------------------------------------------------