[Scummvm-git-logs] scummvm master -> 8c359e6ec9a45e206f464d594f272b38af6db26f

digitall noreply at scummvm.org
Wed Jun 8 23:04:32 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8c359e6ec9 COMMON: Fix Copy Constructor GCC Warning in 80-bit Float Class


Commit: 8c359e6ec9a45e206f464d594f272b38af6db26f
    https://github.com/scummvm/scummvm/commit/8c359e6ec9a45e206f464d594f272b38af6db26f
Author: D G Turner (digitall at scummvm.org)
Date: 2022-06-09T00:04:13+01:00

Commit Message:
COMMON: Fix Copy Constructor GCC Warning in 80-bit Float Class

Changed paths:
    common/xpfloat.h


diff --git a/common/xpfloat.h b/common/xpfloat.h
index e7eb715335c..2d0c0b97a99 100644
--- a/common/xpfloat.h
+++ b/common/xpfloat.h
@@ -43,7 +43,6 @@ struct XPFloat {
 
 	XPFloat();
 	XPFloat(uint16 signAndExponent, uint64 mantissa);
-	XPFloat(const XPFloat &other);
 
 	static XPFloat fromDouble(double value, Semantics semantics = kSemanticsMC68881);
 	static XPFloat fromDoubleBits(uint64 value, Semantics semantics = kSemanticsMC68881);
@@ -57,7 +56,6 @@ struct XPFloat {
 
 inline XPFloat::XPFloat() : signAndExponent(0), mantissa(0) {}
 inline XPFloat::XPFloat(uint16 fSignAndExponent, uint64 fMantissa) : signAndExponent(fSignAndExponent), mantissa(fMantissa) {}
-inline XPFloat::XPFloat(const XPFloat &other) : signAndExponent(other.signAndExponent), mantissa(other.mantissa) {}
 
 }
 




More information about the Scummvm-git-logs mailing list