File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 6
6
/* By: dpoveda- <[email protected] > +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2022/02/15 14:14:42 by dpoveda- #+# #+# */
9
- /* Updated: 2022/02/15 15:13:00 by dpoveda- ### ########.fr */
9
+ /* Updated: 2022/02/17 22:25:11 by dpoveda- ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
@@ -28,7 +28,8 @@ void Karen::complain(std::string level) {
28
28
" ERROR"
29
29
};
30
30
31
- f functions[kLevels ] = {
31
+ // void (Karen::*functions[4])() = {
32
+ f functions[kLevels ] = { // f is a typedef in Karen.hpp
32
33
&Karen::debug,
33
34
&Karen::info,
34
35
&Karen::warning,
Original file line number Diff line number Diff line change 6
6
/* By: dpoveda- <[email protected] > +#+ +:+ +#+ */
7
7
/* +#+#+#+#+#+ +#+ */
8
8
/* Created: 2022/02/15 14:14:42 by dpoveda- #+# #+# */
9
- /* Updated: 2022/02/15 15:55:54 by dpoveda- ### ########.fr */
9
+ /* Updated: 2022/02/17 22:25:13 by dpoveda- ### ########.fr */
10
10
/* */
11
11
/* ************************************************************************** */
12
12
@@ -29,7 +29,8 @@ void Karen::complain(std::string level) {
29
29
" ERROR"
30
30
};
31
31
32
- f functions[kLevels ] = {
32
+ // void (Karen::*functions[4])() = {
33
+ f functions[kLevels ] = { // f is a typedef in Karen.hpp
33
34
&Karen::debug,
34
35
&Karen::info,
35
36
&Karen::warning,
You can’t perform that action at this time.
0 commit comments