mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
binpac: Use std::move for a string value
This commit is contained in:
parent
710e2eaced
commit
d13cdd6427
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ void add_to_include_directories(string dirs) {
|
|||
if ( dir.length() > 0 && *(dir.end() - 1) != '/' )
|
||||
dir += '/';
|
||||
|
||||
FLAGS_include_directories.push_back(dir);
|
||||
FLAGS_include_directories.push_back(std::move(dir));
|
||||
dir_begin = dir_end + 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue