We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dda682 commit 701f5c1Copy full SHA for 701f5c1
conanfile.py
@@ -9,7 +9,7 @@
9
10
class HomeObjectConan(ConanFile):
11
name = "homeobject"
12
- version = "2.0.1"
+ version = "2.0.2"
13
homepage = "https://github.com/eBay/HomeObject"
14
description = "Blob Store built on HomeReplication"
15
topics = ("ebay")
src/include/homeobject/homeobject.hpp
@@ -22,7 +22,9 @@ struct device_info_t {
22
friend std::istream& operator>>(std::istream& input, device_info_t& di) {
23
std::string i_path, i_type;
24
std::getline(input, i_path, ':');
25
- std::getline(input, i_type);
+ if (input.peek() != EOF) {
26
+ std::getline(input, i_type);
27
+ }
28
di.path = std::filesystem::canonical(i_path);
29
if (i_type == "HDD") {
30
di.type = DevType::HDD;
0 commit comments