diff --git a/libethash-cl/ethash_cl_miner.cpp b/libethash-cl/ethash_cl_miner.cpp index f463fc939..3380f9379 100644 --- a/libethash-cl/ethash_cl_miner.cpp +++ b/libethash-cl/ethash_cl_miner.cpp @@ -108,7 +108,7 @@ string ethash_cl_miner::platform_info(unsigned _platformId, unsigned _deviceId) if (devices.empty()) { ETHCL_LOG("No OpenCL devices found."); - return string(); + return {}; } // use selected default device