Get rid of wrap-string-view
This commit is contained in:
@@ -241,7 +241,7 @@ void DrivenEngine::drv_recv_incoming(int chid, int nbytes, const char *bytes) {
|
||||
}
|
||||
}
|
||||
|
||||
void DrivenEngine::drv_notify_close(int chid, eng::string_view err) {
|
||||
void DrivenEngine::drv_notify_close(int chid, std::string_view err) {
|
||||
Channel *ch = get_chid(chid);
|
||||
ch->closed_ = true;
|
||||
ch->error_ = err;
|
||||
@@ -260,7 +260,7 @@ void DrivenEngine::drv_clear_lua_source() {
|
||||
rescan_lua_source_ = false;
|
||||
}
|
||||
|
||||
void DrivenEngine::drv_add_lua_source(eng::string_view fn, eng::string_view data) {
|
||||
void DrivenEngine::drv_add_lua_source(std::string_view fn, std::string_view data) {
|
||||
if (lua_source_ == nullptr) {
|
||||
lua_source_.reset(new util::LuaSourceVec);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user