diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-31 00:41:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-31 00:41:01 +0100 |
| commit | 9f43a8db47466bac0c990fb05f1297f122f2faeb (patch) | |
| tree | 55f8f01d9246185ed984655fe469044ea1b322a0 | |
| parent | e7af3319abdef29be1f35fde62fc38f1b3e727b7 (diff) | |
Fix macOS build after previous commit.v0.17.13
| -rw-r--r-- | src/cxml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.cc b/src/cxml.cc index 2d1f759..51a38fa 100644 --- a/src/cxml.cc +++ b/src/cxml.cc @@ -218,7 +218,7 @@ void cxml::Node::done () const { for (auto i: _node->get_children()) { - if (dynamic_cast<xmlpp::Element*>(i) && find(_taken.begin(), _taken.end(), i->get_name()) == _taken.end()) { + if (dynamic_cast<xmlpp::Element const*>(i) && find(_taken.begin(), _taken.end(), i->get_name()) == _taken.end()) { throw cxml::Error ("unexpected XML node " + i->get_name()); } } |
