mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
C++11 cleanup on constructors (#6000)
* C++11 cleanup on constructors dir script
This commit is contained in:
parent
4a78949083
commit
4a5e8ad343
40 changed files with 117 additions and 180 deletions
|
@ -454,8 +454,7 @@ class BufReader {
|
|||
public:
|
||||
BufReader(const u8 *data_, size_t size_) :
|
||||
data(data_),
|
||||
size(size_),
|
||||
pos(0)
|
||||
size(size_)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -515,7 +514,7 @@ public:
|
|||
|
||||
const u8 *data;
|
||||
size_t size;
|
||||
size_t pos;
|
||||
size_t pos = 0;
|
||||
};
|
||||
|
||||
#undef MAKE_BUFREADER_GET_FXN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue