mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-10-14 15:20:36 +00:00
Replace string_ref with string_view in test.
This commit is contained in:
parent
befbed413a
commit
eaf8c0778d
2 changed files with 6 additions and 6 deletions
|
@ -44,13 +44,13 @@ namespace tawashi {
|
|||
tawashi_virtual_testing bool is_connected() const;
|
||||
tawashi_virtual_testing void finalize_connection();
|
||||
tawashi_virtual_testing SubmissionResult submit_pastie (
|
||||
const boost::string_ref& parText,
|
||||
const boost::string_view& parText,
|
||||
uint32_t parExpiry,
|
||||
const boost::string_ref& parLang,
|
||||
const boost::string_view& parLang,
|
||||
const std::string& parRemoteIP
|
||||
) const;
|
||||
|
||||
tawashi_virtual_testing boost::optional<std::string> retrieve_pastie (const boost::string_ref& parToken) const;
|
||||
tawashi_virtual_testing boost::optional<std::string> retrieve_pastie (const boost::string_view& parToken) const;
|
||||
|
||||
const std::vector<SubmittedPastie>& submitted_pasties() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue