diff options
author | tomsmeding <tom.smeding@gmail.com> | 2016-10-08 21:57:51 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2016-10-08 21:57:59 +0200 |
commit | 93b1a18fd61890eb4976a7f52d17e0990ccca661 (patch) | |
tree | 50cb66ad5dcc6c098bea1422a1237dfbefb7d65a /bigint.h | |
parent | 27472e604eeb74b3b60313d38d537c7e0e83151b (diff) |
Fix some serious bugs with casting
Diffstat (limited to 'bigint.h')
-rw-r--r-- | bigint.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,7 +31,7 @@ private: public: Bigint(); Bigint(const Bigint&)=default; - Bigint(Bigint&&)=default; + Bigint(Bigint&&); explicit Bigint(const std::string&); explicit Bigint(sdigit_t); explicit Bigint(digit_t); @@ -39,7 +39,7 @@ public: explicit Bigint(longdigit_t); Bigint& operator=(const Bigint&)=default; - Bigint& operator=(Bigint&&)=default; + Bigint& operator=(Bigint&&); Bigint& operator=(slongdigit_t); Bigint& operator=(longdigit_t); Bigint& operator=(sdigit_t); |