summaryrefslogtreecommitdiff
path: root/src/number.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/number.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/number.cpp b/src/number.cpp
index cda829e..1b0efdc 100644
--- a/src/number.cpp
+++ b/src/number.cpp
@@ -45,6 +45,12 @@ Number &Number::operator=( const Number &rhs )
45 return *this; 45 return *this;
46} 46}
47 47
48Number &Number::operator=( const int32_t iNum )
49{
50 set( iNum );
51 return *this;
52}
53
48Number Number::operator+( const Number &rhs ) const 54Number Number::operator+( const Number &rhs ) const
49{ 55{
50 return add( rhs, false ); 56 return add( rhs, false );