Default value for fixed is zero

This commit is contained in:
2025-09-12 12:58:34 +02:00
parent bcb5cb36fe
commit 80b0e4b146

View File

@@ -6,14 +6,14 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */ /* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/09/10 00:54:50 by tigos #+# #+# */ /* Created: 2025/09/10 00:54:50 by tigos #+# #+# */
/* Updated: 2025/09/10 17:33:29 by aortigos ### ########.fr */ /* Updated: 2025/09/12 12:58:15 by aortigos ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#include "Fixed.hpp" #include "Fixed.hpp"
// Default constructor // Default constructor
Fixed::Fixed() Fixed::Fixed() : value(0)
{ {
std::cout << "Default constructor called" << std::endl; std::cout << "Default constructor called" << std::endl;
} }