aboutsummaryrefslogtreecommitdiff
path: root/cpp06/ex02
diff options
context:
space:
mode:
Diffstat (limited to 'cpp06/ex02')
-rw-r--r--cpp06/ex02/Makefile4
-rw-r--r--cpp06/ex02/main.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/cpp06/ex02/Makefile b/cpp06/ex02/Makefile
index 8a8ffca..72c6dd1 100644
--- a/cpp06/ex02/Makefile
+++ b/cpp06/ex02/Makefile
@@ -6,14 +6,14 @@
# By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/04/15 09:59:30 by charles #+# #+# #
-# Updated: 2020/11/18 09:22:44 by charles ### ########.fr #
+# Updated: 2020/12/14 10:53:41 by cacharle ### ########.fr #
# #
# **************************************************************************** #
NAME = identify_real_type
CXX = clang++
-CXXFLAGS = -std=c++98 -Wall -Wextra -Werror
+CXXFLAGS = -Wall -Wextra -Werror
SRC = main.cpp A.cpp B.cpp C.cpp Base.cpp
OBJ = $(SRC:.cpp=.o)
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;