File tree Expand file tree Collapse file tree 10 files changed +10
-10
lines changed
doc/modules/ROOT/examples/rolex Expand file tree Collapse file tree 10 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ BOOST_OPENMETHOD_OVERRIDE(
1414 return 5000.0 ;
1515}
1616
17- BOOST_OPENMETHOD_CLASSES (Employee)
17+ BOOST_OPENMETHOD_CLASSES (Employee);
1818// end::content[]
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ BOOST_OPENMETHOD_OVERRIDE(
1414 return next (emp) + emp->sales * 0.05 ; // base + commission
1515}
1616
17- BOOST_OPENMETHOD_CLASSES (Employee, Salesman)
17+ BOOST_OPENMETHOD_CLASSES (Employee, Salesman);
1818
1919// end::content[]
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ BOOST_OPENMETHOD_DEFINE_OVERRIDER(
1212 return 5000.0 ;
1313}
1414
15- BOOST_OPENMETHOD_CLASSES (Employee)
15+ BOOST_OPENMETHOD_CLASSES (Employee);
1616// end::content[]
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ BOOST_OPENMETHOD_OVERRIDE(
1616}
1717// end::content[]
1818
19- BOOST_OPENMETHOD_CLASSES (Employee, Salesman)
19+ BOOST_OPENMETHOD_CLASSES (Employee, Salesman);
Original file line number Diff line number Diff line change 77#include " roles.hpp"
88#include < boost/openmethod.hpp>
99
10- BOOST_OPENMETHOD_CLASSES (Employee)
10+ BOOST_OPENMETHOD_CLASSES (Employee);
1111// end::content[]
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ BOOST_OPENMETHOD_OVERRIDE(
1616}
1717// end::content[]
1818
19- BOOST_OPENMETHOD_CLASSES (Employee, Salesman)
19+ BOOST_OPENMETHOD_CLASSES (Employee, Salesman);
Original file line number Diff line number Diff line change 77#include " roles.hpp"
88#include < boost/openmethod.hpp>
99
10- BOOST_OPENMETHOD_CLASSES (employees::Employee)
10+ BOOST_OPENMETHOD_CLASSES (employees::Employee);
1111// end::content[]
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ BOOST_OPENMETHOD_OVERRIDE(
1717 emp->sales * 0.05 ; // base + commission
1818}
1919
20- BOOST_OPENMETHOD_CLASSES (employees::Employee, Salesman)
20+ BOOST_OPENMETHOD_CLASSES (employees::Employee, Salesman);
2121
2222} // namespace sales
2323// end::content[]
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ BOOST_OPENMETHOD_OVERRIDE(
7171}
7272
7373// ...and let's not forget to register the classes
74- BOOST_OPENMETHOD_CLASSES (Employee, Salesman)
74+ BOOST_OPENMETHOD_CLASSES (Employee, Salesman);
7575// end::overriders[]
7676
7777// tag::main[]
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ BOOST_OPENMETHOD_OVERRIDE(
6666}
6767
6868// ...and let's not forget to register the classes
69- BOOST_OPENMETHOD_CLASSES (Employee, Salesman)
69+ BOOST_OPENMETHOD_CLASSES (Employee, Salesman);
7070// end::overriders[]
7171
7272// tag::main[]
You can’t perform that action at this time.
0 commit comments