forked from espressif/esp-protocols
Reduce heap allocations by getting rid of temporary std::list and std::string
This commit is contained in:
1 parent
b8cdd373f4
commit
1d49013fc6
10 files changed
+44
-40
No files matched your search
@@ -10,8 +10,8 @@
|
||||
#include "cxx_include/esp_modem_dce_module.hpp"
|
||||
|
||||
namespace esp_modem::dce_commands {
|
||||
command_result generic_command(CommandableIf *t, const std::string &command,
|
||||
const std::list<std::string_view> &pass_phrase,
|
||||
const std::list<std::string_view> &fail_phrase,
|
||||
command_result generic_command(CommandableIf *t, std::string_view command,
|
||||
std::span<const std::string_view> pass_phrase,
|
||||
std::span<const std::string_view> fail_phrase,
|
||||
uint32_t timeout_ms);
|
||||
}
|
||||
Reference in new issue
Block a user