lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
433 stars 74 forks source link

Revert "Return strings by value for NRVO (#71)" #73

Closed lfreist closed 8 months ago

lfreist commented 8 months ago

This reverts commit 10d87e881a7b2093a8c1aaa9a390f96afa66c7bd.

Copy elision cannot replace const reference return values in this case.