[libc-commits] [libc] 79c7302 - [libc] Fix invalid constructor declaration
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Thu Jan 5 06:01:46 PST 2023
Author: Guillaume Chatelet
Date: 2023-01-05T14:01:37Z
New Revision: 79c730218e8b340726f1e611aa8dd1a9dab37d08
URL: https://github.com/llvm/llvm-project/commit/79c730218e8b340726f1e611aa8dd1a9dab37d08
DIFF: https://github.com/llvm/llvm-project/commit/79c730218e8b340726f1e611aa8dd1a9dab37d08.diff
LOG: [libc] Fix invalid constructor declaration
Added:
Modified:
libc/src/__support/float_to_string.h
Removed:
################################################################################
diff --git a/libc/src/__support/float_to_string.h b/libc/src/__support/float_to_string.h
index 874093505c99f..e9814843a5dd7 100644
--- a/libc/src/__support/float_to_string.h
+++ b/libc/src/__support/float_to_string.h
@@ -233,7 +233,7 @@ class FloatToString {
// constexpr void init_convert();
public:
- constexpr FloatToString<T>(T init_float) : float_bits(init_float) {
+ constexpr FloatToString(T init_float) : float_bits(init_float) {
is_negative = float_bits.get_sign();
exponent = float_bits.get_exponent();
mantissa = float_bits.get_explicit_mantissa();
More information about the libc-commits
mailing list