Skip to content

Commit 5c2bace

Browse files
Yura Zarudniykamilsa
authored andcommitted
remove commented out
Signed-off-by: Yura Zarudniy <[email protected]>
1 parent 8591f1d commit 5c2bace

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ jobs:
4242
else
4343
sudo apt-get update
4444
sudo apt-get install -y ninja-build
45-
#check clang version
46-
which clang && clang --version || echo "no clang"
4745
fi
4846
4947
sudo python3 -m pip install --upgrade pip

core/storage/leveldb/leveldb.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ namespace fc::storage {
2020
if (status.ok()) {
2121
auto l = std::make_unique<LevelDB>();
2222
l->db_ = std::unique_ptr<leveldb::DB>(db);
23-
// return l;
24-
return std::move(l);
23+
return std::move(l); // clang 6.0.1 issue
2524
}
2625

2726
return error_as_result<std::unique_ptr<LevelDB>>(status);

0 commit comments

Comments
 (0)