浏览代码

[cpp] fix OpUShr (this code is not reachable atm, but still)

Rudy Ges 1 年之前
父节点
当前提交
0390563270
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/generators/gencpp.ml

+ 1 - 1
src/generators/gencpp.ml

@@ -4280,7 +4280,7 @@ let gen_cpp_ast_expression_tree ctx class_name func_name function_args function_
       | OpBoolOr -> "||"
       | OpShl -> "<<"
       | OpShr -> ">>"
-      | OpUShr -> "<<<"
+      | OpUShr -> ">>>"
       | OpMod -> "%"
       | OpInterval -> "..."
       | OpArrow -> "->"