diff options
author | Tor Brede Vekterli <vekterli@oath.com> | 2018-09-24 10:35:39 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@oath.com> | 2018-09-24 10:35:39 +0000 |
commit | e8b86484259c9cfad7bf2006f454f993f6497b5a (patch) | |
tree | d4cdf0646f21399b86ad1fd4bb526cfa17dc35f8 /vespalib | |
parent | 1bd4871466d962f52e4a762cb19211008551b82f (diff) |
Address code review feedback
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/tests/net/tls/direct_buffer_bio/direct_buffer_bio_test.cpp | 2 | ||||
-rw-r--r-- | vespalib/src/vespa/vespalib/net/tls/impl/direct_buffer_bio.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/net/tls/direct_buffer_bio/direct_buffer_bio_test.cpp b/vespalib/src/tests/net/tls/direct_buffer_bio/direct_buffer_bio_test.cpp index 4c51e91fcf8..134df9b17eb 100644 --- a/vespalib/src/tests/net/tls/direct_buffer_bio/direct_buffer_bio_test.cpp +++ b/vespalib/src/tests/net/tls/direct_buffer_bio/direct_buffer_bio_test.cpp @@ -17,7 +17,7 @@ struct Fixture { const_bio(new_const_direct_buffer_bio()), tmp_buf('X', 64) { - assert(mutable_bio && const_bio); + ASSERT_TRUE(mutable_bio && const_bio); } }; diff --git a/vespalib/src/vespa/vespalib/net/tls/impl/direct_buffer_bio.cpp b/vespalib/src/vespa/vespalib/net/tls/impl/direct_buffer_bio.cpp index 8fe59e55bbd..614722a9769 100644 --- a/vespalib/src/vespa/vespalib/net/tls/impl/direct_buffer_bio.cpp +++ b/vespalib/src/vespa/vespalib/net/tls/impl/direct_buffer_bio.cpp @@ -415,4 +415,4 @@ MutableBufferViewGuard::~MutableBufferViewGuard() { unset_bio_buffer_view(_bio); } -}
\ No newline at end of file +} |