X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/daeeee5daf8488c1abd98d5a361356be873e4ac0..a095f18afd3ffdc695ebe984a0ad0c74d61fd834:/projects/stargazer/tariff_impl.cpp diff --git a/projects/stargazer/tariff_impl.cpp b/projects/stargazer/tariff_impl.cpp index 63164a27..bf272f31 100644 --- a/projects/stargazer/tariff_impl.cpp +++ b/projects/stargazer/tariff_impl.cpp @@ -36,15 +36,15 @@ #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; } //-----------------------------------------------------------------------------