Skip to content

Commit a70e640

Browse files
committed
libcufetch: move toml++ there and force users to specify the template name of the config to retrive
1 parent 7827407 commit a70e640

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

include/cufetch/config.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public:
3434
* @param fallback Default value if couldn't retrive value
3535
*/
3636
template <typename T>
37-
T getValue(const std::string_view value, const T&& fallback) const
37+
T&& getValue(const std::string_view value, const T&& fallback) const
3838
{
3939
const auto& overridePos = overrides.find(value.data());
4040

0 commit comments

Comments
 (0)