Get rid of wrap-string-view
This commit is contained in:
@@ -343,7 +343,7 @@ public:
|
||||
// delete it. Closing a channel prevents it from showing up in
|
||||
// 'drv_list_channels'.
|
||||
//
|
||||
void drv_notify_close(int chid, eng::string_view err);
|
||||
void drv_notify_close(int chid, std::string_view err);
|
||||
|
||||
// Notify the DrivenEngine that somebody connected to an incoming port.
|
||||
// This will cause the DrivenEngine to allocate a new channel and put the
|
||||
@@ -361,7 +361,7 @@ public:
|
||||
// Set the lua source code. The driver is expected to read the lua source
|
||||
// code and store it (using this function) once before invoking
|
||||
//
|
||||
void drv_add_lua_source(eng::string_view fn, eng::string_view data);
|
||||
void drv_add_lua_source(std::string_view fn, std::string_view data);
|
||||
|
||||
// Invoke the init or update event.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user