aboutsummaryrefslogtreecommitdiff
path: root/cpp06/ex02/main.cpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-12-14 11:18:40 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-12-14 11:18:40 +0100
commitb13cd117a7957f9d86ec2986b47349979325a854 (patch)
treefcdb302deb45f95bdd8495c5c03ea0e45ce77275 /cpp06/ex02/main.cpp
parent2ee90625e793175c5fcde47564326a7eb8a1b3ee (diff)
downloadpiscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.tar.gz
piscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.tar.bz2
piscine_cpp-b13cd117a7957f9d86ec2986b47349979325a854.zip
Fixing nanf not recognized in cpp06/00, Fixing serialization size to 52 bytes
Diffstat (limited to 'cpp06/ex02/main.cpp')
-rw-r--r--cpp06/ex02/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp06/ex02/main.cpp b/cpp06/ex02/main.cpp
index 86cd78f..28614ca 100644
--- a/cpp06/ex02/main.cpp
+++ b/cpp06/ex02/main.cpp
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/15 10:00:18 by charles #+# #+# */
-/* Updated: 2020/11/18 09:29:49 by charles ### ########.fr */
+/* Updated: 2020/12/14 11:17:03 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -114,10 +114,10 @@ int main()
for (int i = 0; i < 10; i++)
{
Base *b = generate();
- std::cout << "---" << std::endl;
identify_from_pointer(b);
identify_from_reference(*b);
delete b;
+ std::cout << "---" << std::endl;
}
return 0;