Skip to content

Commit dac3cf7

Browse files
committed
silence codecov in forced instantiation
1 parent 52fa713 commit dac3cf7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_virtual_ptr_doc.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,14 @@ namespace non_polymorphic {
186186
struct Animal {}; // polymorphic not required
187187
struct Dog : Animal {}; // polymorphic not required
188188
BOOST_OPENMETHOD_CLASSES(Animal, Dog);
189+
190+
// codecov:ignore:start
189191
BOOST_OPENMETHOD(poke, (virtual_ptr<Animal>), void);
190192

191-
void instiantiate_poke(virtual_ptr<Dog> snoopy) {
193+
void instantiate_poke(virtual_ptr<Dog> snoopy) {
192194
poke(snoopy);
193195
}
196+
// codecov:ignore:end
194197

195198
BOOST_AUTO_TEST_CASE(virtual_ptr_examples_non_polymorphic) {
196199
{

0 commit comments

Comments
 (0)