Use std::make_shared to create std::shared_ptr instances (#132)

* Use std::make_shared to create std::shared_ptr instances as it makes only one allocation

* Some previously private constructors have been made public as std::make_shared needs access to the constructor. While these constructors are not intended for client use, alternative[https://stackoverflow.com/questions/8147027/how-do-i-call-stdmake-shared-on-a-class-with-only-protected-or-private-const] approaches seem unnessessaryly complex.
74 files changed
tree: 31f7e356eade8224238cff18bba1d02260404209
  1. .github/
  2. src/
  3. .asf.yaml
  4. .astylerc
  5. .editorconfig
  6. .gitattributes
  7. .gitignore
  8. CMakeLists.txt
  9. doap_log4cxx.rdf
  10. INSTALL
  11. KEYS
  12. liblog4cxx-qt.pc.in
  13. liblog4cxx.pc.in
  14. LICENSE
  15. NOTICE
  16. README.md
  17. sonar-project.properties
README.md

Issues and pull requests

Issues are maintained in the Apache JIRA by default, so before posting pull requests, please have a look there if an associated issue with your problem/feature/... exists already. If not, it‘s generally OK to directly create pull requests IF code is already available, but please be somewhat verbose: Provide some background information about what actual problem the PR solves, why this needs to be solved etc. Don’t just provide commits about the fact that you changed something.

If any discussion is needed before actually having any code, simply create a ticket in JIRA or send a message to the corresponding mailing list. Thanks!