CloudPolis / webdav-client-cpp

:cloud: C++ WebDAV Client provides easy and convenient to work with WebDAV-servers.
http://cloudpolis.github.io/webdav-client-cpp/
Other
120 stars 52 forks source link

ifndef/define xxx_H and final/or_virt_destructor #13

Closed ale0x78ey closed 7 years ago

ale0x78ey commented 7 years ago

pragma once is a non-standard. That's why it's a good practice when you use both #pragma and #define header-guard.

You should use final specifier or virtual destructor for class Header in sources/header.hpp.

Destructor is always noexcept in C++11.