Fix CI build
This commit is contained in:
parent
19e3433035
commit
e318b4879b
@ -49,7 +49,7 @@ references:
|
||||
sudo chmod o-w /etc/apt/sources.list.d/clang.list
|
||||
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get update -qq
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y git ccache $APT_COMPILER_PACKAGE cmake make libcurl4-openssl-dev libcrypto++-dev libssl-dev libfuse-dev python clang-tidy
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y git ccache $APT_COMPILER_PACKAGE cmake make libcurl4-openssl-dev libcrypto++-dev libssl-dev libfuse-dev python
|
||||
# Use /dev/urandom when /dev/random is accessed to use less entropy
|
||||
sudo cp -a /dev/urandom /dev/random
|
||||
|
||||
|
@ -16,7 +16,7 @@ public:
|
||||
explicit CacheEntry(Value value): _lastAccess(currentTime()), _value(std::move(value)) {
|
||||
}
|
||||
|
||||
CacheEntry(CacheEntry &&) noexcept = default;
|
||||
CacheEntry(CacheEntry&& rhs) noexcept: _lastAccess(std::move(rhs._lastAccess)), _value(std::move(rhs._value)) {}
|
||||
|
||||
double ageSeconds() const {
|
||||
return ((double)(currentTime() - _lastAccess).total_nanoseconds()) / ((double)1000000000);
|
||||
|
@ -9,7 +9,7 @@ namespace blockstore {
|
||||
namespace integrity {
|
||||
|
||||
struct ClientIdAndBlockId final {
|
||||
uint32_t clientId = 0;
|
||||
uint32_t clientId;
|
||||
BlockId blockId;
|
||||
};
|
||||
|
||||
|
@ -250,7 +250,7 @@ TEST_F(EitherTest, ModifyLeftOpt) {
|
||||
|
||||
TEST_F(EitherTest, ModifyRightOpt) {
|
||||
either<int, string> val = string("mystring1");
|
||||
val.right_opt().value() = "mystring2";
|
||||
val.right_opt().get() = "mystring2";
|
||||
EXPECT_RIGHT_IS("mystring2", val);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user