aboutsummaryrefslogtreecommitdiff
path: root/bigint.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-08 21:57:51 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-08 21:57:59 +0200
commit93b1a18fd61890eb4976a7f52d17e0990ccca661 (patch)
tree50cb66ad5dcc6c098bea1422a1237dfbefb7d65a /bigint.h
parent27472e604eeb74b3b60313d38d537c7e0e83151b (diff)
Fix some serious bugs with casting
Diffstat (limited to 'bigint.h')
-rw-r--r--bigint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bigint.h b/bigint.h
index 1e8515a..a4c29d6 100644
--- a/bigint.h
+++ b/bigint.h
@@ -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);