From 5796d3c3ea7dcbe7be333752a37e7694622741e4 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leroy Date: Thu, 18 Dec 2025 17:04:17 -0500 Subject: [PATCH] add semicolons after BOOST_OPENMETHOD_CLASSES in examples --- doc/modules/ROOT/examples/rolex/1/employee.cpp | 2 +- doc/modules/ROOT/examples/rolex/1/salesman.cpp | 2 +- doc/modules/ROOT/examples/rolex/2/employee.cpp | 2 +- doc/modules/ROOT/examples/rolex/2/salesman.cpp | 2 +- doc/modules/ROOT/examples/rolex/3/employee.cpp | 2 +- doc/modules/ROOT/examples/rolex/3/salesman.cpp | 2 +- doc/modules/ROOT/examples/rolex/4/employee.cpp | 2 +- doc/modules/ROOT/examples/rolex/4/salesman.cpp | 2 +- doc/modules/ROOT/examples/rolex/5/main.cpp | 2 +- doc/modules/ROOT/examples/rolex/6/main.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/modules/ROOT/examples/rolex/1/employee.cpp b/doc/modules/ROOT/examples/rolex/1/employee.cpp index 30e07ed..48503ba 100644 --- a/doc/modules/ROOT/examples/rolex/1/employee.cpp +++ b/doc/modules/ROOT/examples/rolex/1/employee.cpp @@ -14,5 +14,5 @@ BOOST_OPENMETHOD_OVERRIDE( return 5000.0; } -BOOST_OPENMETHOD_CLASSES(Employee) +BOOST_OPENMETHOD_CLASSES(Employee); // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/1/salesman.cpp b/doc/modules/ROOT/examples/rolex/1/salesman.cpp index 1476356..11c5a65 100644 --- a/doc/modules/ROOT/examples/rolex/1/salesman.cpp +++ b/doc/modules/ROOT/examples/rolex/1/salesman.cpp @@ -14,6 +14,6 @@ BOOST_OPENMETHOD_OVERRIDE( return next(emp) + emp->sales * 0.05; // base + commission } -BOOST_OPENMETHOD_CLASSES(Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(Employee, Salesman); // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/2/employee.cpp b/doc/modules/ROOT/examples/rolex/2/employee.cpp index 6a79542..8143bd3 100644 --- a/doc/modules/ROOT/examples/rolex/2/employee.cpp +++ b/doc/modules/ROOT/examples/rolex/2/employee.cpp @@ -12,5 +12,5 @@ BOOST_OPENMETHOD_DEFINE_OVERRIDER( return 5000.0; } -BOOST_OPENMETHOD_CLASSES(Employee) +BOOST_OPENMETHOD_CLASSES(Employee); // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/2/salesman.cpp b/doc/modules/ROOT/examples/rolex/2/salesman.cpp index 6b9df0a..fcaf140 100644 --- a/doc/modules/ROOT/examples/rolex/2/salesman.cpp +++ b/doc/modules/ROOT/examples/rolex/2/salesman.cpp @@ -16,4 +16,4 @@ BOOST_OPENMETHOD_OVERRIDE( } // end::content[] -BOOST_OPENMETHOD_CLASSES(Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(Employee, Salesman); diff --git a/doc/modules/ROOT/examples/rolex/3/employee.cpp b/doc/modules/ROOT/examples/rolex/3/employee.cpp index 4fbb428..7170006 100644 --- a/doc/modules/ROOT/examples/rolex/3/employee.cpp +++ b/doc/modules/ROOT/examples/rolex/3/employee.cpp @@ -7,5 +7,5 @@ #include "roles.hpp" #include -BOOST_OPENMETHOD_CLASSES(Employee) +BOOST_OPENMETHOD_CLASSES(Employee); // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/3/salesman.cpp b/doc/modules/ROOT/examples/rolex/3/salesman.cpp index 6b9df0a..fcaf140 100644 --- a/doc/modules/ROOT/examples/rolex/3/salesman.cpp +++ b/doc/modules/ROOT/examples/rolex/3/salesman.cpp @@ -16,4 +16,4 @@ BOOST_OPENMETHOD_OVERRIDE( } // end::content[] -BOOST_OPENMETHOD_CLASSES(Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(Employee, Salesman); diff --git a/doc/modules/ROOT/examples/rolex/4/employee.cpp b/doc/modules/ROOT/examples/rolex/4/employee.cpp index 8022307..8afdfdd 100644 --- a/doc/modules/ROOT/examples/rolex/4/employee.cpp +++ b/doc/modules/ROOT/examples/rolex/4/employee.cpp @@ -7,5 +7,5 @@ #include "roles.hpp" #include -BOOST_OPENMETHOD_CLASSES(employees::Employee) +BOOST_OPENMETHOD_CLASSES(employees::Employee); // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/4/salesman.cpp b/doc/modules/ROOT/examples/rolex/4/salesman.cpp index e1a2d7b..354f973 100644 --- a/doc/modules/ROOT/examples/rolex/4/salesman.cpp +++ b/doc/modules/ROOT/examples/rolex/4/salesman.cpp @@ -17,7 +17,7 @@ BOOST_OPENMETHOD_OVERRIDE( emp->sales * 0.05; // base + commission } -BOOST_OPENMETHOD_CLASSES(employees::Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(employees::Employee, Salesman); } // namespace sales // end::content[] diff --git a/doc/modules/ROOT/examples/rolex/5/main.cpp b/doc/modules/ROOT/examples/rolex/5/main.cpp index 102ce12..e149914 100644 --- a/doc/modules/ROOT/examples/rolex/5/main.cpp +++ b/doc/modules/ROOT/examples/rolex/5/main.cpp @@ -71,7 +71,7 @@ BOOST_OPENMETHOD_OVERRIDE( } // ...and let's not forget to register the classes -BOOST_OPENMETHOD_CLASSES(Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(Employee, Salesman); // end::overriders[] // tag::main[] diff --git a/doc/modules/ROOT/examples/rolex/6/main.cpp b/doc/modules/ROOT/examples/rolex/6/main.cpp index cceccc4..4e53c17 100644 --- a/doc/modules/ROOT/examples/rolex/6/main.cpp +++ b/doc/modules/ROOT/examples/rolex/6/main.cpp @@ -66,7 +66,7 @@ BOOST_OPENMETHOD_OVERRIDE( } // ...and let's not forget to register the classes -BOOST_OPENMETHOD_CLASSES(Employee, Salesman) +BOOST_OPENMETHOD_CLASSES(Employee, Salesman); // end::overriders[] // tag::main[]