Modernize MetaDataSvc
- prefer
structoverclassfor interfaces - prefer
extend_interfacesover explicit virtual inheritance - remove redundant #include
- factor out common code
- avoid
stringstreamas it is not needed here...
Edited by Marco Clemencic
Security Notice: GitLab has uncovered a widespread malicious npm supply-chain attack that potentially can destroy user data. All teams are required to audit packages. Further information can be found under the Computer Security Report for November 2025 and the original blog post in https://about.gitlab.com/blog/gitlab-discovers-widespread-npm-supply-chain-attack/
struct over class for interfacesextend_interfaces over explicit virtual inheritancestringstream as it is not needed here...