Skip to content
Commit 0f92b54c authored by Harald Sitter's avatar Harald Sitter 🐧
Browse files

[sftp] replace memset(0) hack with c++ initialization

Summary:
new T() in c++11 in a class with a default constructor that is not user
provided will zero initialize the object.
(see docs on `value initialization`)

Reviewers: broulik

Reviewed By: broulik

Differential Revision: https://phabricator.kde.org/D15472
parent 44eab3e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment