We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb3483c commit a6c7e4bCopy full SHA for a6c7e4b
1 file changed
cpp2rust/converter/mapper.cpp
@@ -547,7 +547,7 @@ std::string mapTypeStringRecursive(const std::string &cpp_type) {
547
std::string normalizeTranslationRule(std::string rule) {
548
// Detach pointer from double reference. Useful for matching translation
549
// rules.
550
- rule = ReplaceAll(rule, "(*&&)", "* &&");
+ rule = ReplaceAll(rule, "*&&", "* &&");
551
552
const std::array<std::pair<std::regex, std::string>, 1> normalization_rules{{
553
// Ignore constant template parameters, i.e. replace them with _.
0 commit comments