| 1 |
#include "cmMod.hpp" |
| 2 |
#include "config.h" |
| 3 |
|
| 4 |
#if CONFIG_OPT != 42 |
| 5 |
#error "Invalid value of CONFIG_OPT" |
| 6 |
#endif |
| 7 |
|
| 8 |
using namespace std; |
| 9 |
|
| 10 |
cmModClass::cmModClass(string foo) { |
| 11 |
str = foo + " World"; |
| 12 |
} |
| 13 |
|
| 14 |
string cmModClass::getStr() const { |
| 15 |
return str; |
| 16 |
} |