diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-06-26 17:00:45 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-06-30 06:44:41 +0200 |
commit | 5b57b698d71cd83de7c2d6afbdce77853e24f59c (patch) | |
tree | b7b51dfc2953c123d44cc67573ad4ab7ab0462bd /src/ortho/llvm6 | |
parent | b4d4d9abb322ed0807d2ba0888e73820499aa338 (diff) | |
download | ghdl-5b57b698d71cd83de7c2d6afbdce77853e24f59c.tar.gz ghdl-5b57b698d71cd83de7c2d6afbdce77853e24f59c.tar.bz2 ghdl-5b57b698d71cd83de7c2d6afbdce77853e24f59c.zip |
src/ortho: adjust constructor for codacy warning.
Not sure how legitimate it is.
Diffstat (limited to 'src/ortho/llvm6')
-rw-r--r-- | src/ortho/llvm6/llvm-cbindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/llvm6/llvm-cbindings.cpp b/src/ortho/llvm6/llvm-cbindings.cpp index 2f5cebe83..971761892 100644 --- a/src/ortho/llvm6/llvm-cbindings.cpp +++ b/src/ortho/llvm6/llvm-cbindings.cpp @@ -1437,7 +1437,7 @@ struct ODnodeSubprg : ODnodeBase { OIdent Ident; ODKind getKind() const override { return ODKSubprg; } ODnodeSubprg(LLVMValueRef R, OTnode T, OStorage S, OIdent Id, - std::vector<ODnodeInter *> Inters) : + const std::vector<ODnodeInter *> &Inters) : ODnodeBase(R, T), Inters(Inters), Storage(S), Ident(Id) {} }; |