mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 09:25:30 -04:00
Make assorted arguments pass-by-reference.
This commit is contained in:
parent
a9451c17b4
commit
3172fb1ad6
7 changed files with 13 additions and 13 deletions
|
@ -31,7 +31,7 @@ class File {
|
|||
public:
|
||||
~File();
|
||||
|
||||
bool open_for_append(const std::string file_path);
|
||||
bool open_for_append(const std::string& file_path);
|
||||
bool close();
|
||||
|
||||
bool is_ready();
|
||||
|
@ -39,7 +39,7 @@ public:
|
|||
bool read(void* const data, const size_t bytes_to_read);
|
||||
bool write(const void* const data, const size_t bytes_to_write);
|
||||
|
||||
bool puts(const std::string string);
|
||||
bool puts(const std::string& string);
|
||||
|
||||
bool sync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue