X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6f7160dd027c8ce7e2760aa369768ba39ab80181..3b856e83ad55125111fe5961d07d7524bd6ee283:/projects/stargazer/tariff_impl.cpp?ds=inline diff --git a/projects/stargazer/tariff_impl.cpp b/projects/stargazer/tariff_impl.cpp index bfae5215..bf272f31 100644 --- a/projects/stargazer/tariff_impl.cpp +++ b/projects/stargazer/tariff_impl.cpp @@ -31,20 +31,20 @@ #include #include // std::max +#include "stg/common.h" #include "tariff_impl.h" #include "stg_timer.h" -#include "common.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; } //-----------------------------------------------------------------------------