Skip to content

Commit a6c7e4b

Browse files
committed
edits
1 parent bb3483c commit a6c7e4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp2rust/converter/mapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ std::string mapTypeStringRecursive(const std::string &cpp_type) {
547547
std::string normalizeTranslationRule(std::string rule) {
548548
// Detach pointer from double reference. Useful for matching translation
549549
// rules.
550-
rule = ReplaceAll(rule, "(*&&)", "* &&");
550+
rule = ReplaceAll(rule, "*&&", "* &&");
551551

552552
const std::array<std::pair<std::regex, std::string>, 1> normalization_rules{{
553553
// Ignore constant template parameters, i.e. replace them with _.

0 commit comments

Comments
 (0)