Skip to content

Commit

Permalink
lua-base4: Rename is to stream in loadStream()
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Jul 25, 2024
1 parent cd44691 commit e2a1062
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pdns/lua-base4.cc
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ void BaseLua4::prepareContext() {
d_lw->writeVariable("pdns", d_pd);
}

void BaseLua4::loadStream(std::istream &is) {
d_lw->executeCode(is);
void BaseLua4::loadStream(std::istream &stream) {
d_lw->executeCode(stream);

postLoad();
}
Expand Down
2 changes: 1 addition & 1 deletion pdns/lua-base4.hh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public:
BaseLua4();
void loadFile(const std::string& fname);
void loadString(const std::string& script);
void loadStream(std::istream& is);
void loadStream(std::istream& stream);
virtual ~BaseLua4(); // this is so unique_ptr works with an incomplete type
protected:
void prepareContext();
Expand Down

0 comments on commit e2a1062

Please sign in to comment.