mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
switched CPPCompile::Canonicalize() to take std::string instead of const char*
This commit is contained in:
parent
84d8e74884
commit
519fec2592
6 changed files with 11 additions and 13 deletions
|
@ -259,7 +259,7 @@ void CPPCompile::GenStandaloneActivation() {
|
|||
|
||||
auto f = func.Func();
|
||||
auto fname = BodyName(func);
|
||||
auto bname = Canonicalize(fname.c_str()) + "_zf";
|
||||
auto bname = Canonicalize(fname) + "_zf";
|
||||
|
||||
if ( compiled_funcs.count(bname) == 0 )
|
||||
// We didn't wind up compiling it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue