From 93b1a18fd61890eb4976a7f52d17e0990ccca661 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 8 Oct 2016 21:57:51 +0200 Subject: Fix some serious bugs with casting --- bigint.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bigint.h') 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); -- cgit v1.2.3-54-g00ecf