projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sort includes in C++ files
[babeltrace.git]
/
src
/
cpp-common
/
bt2
/
clock-snapshot.hpp
diff --git
a/src/cpp-common/bt2/clock-snapshot.hpp
b/src/cpp-common/bt2/clock-snapshot.hpp
index 301931f6d3e7801d36becce9972c0fa47d6f37a0..364400b6ff809e54b300c4f2f0f7748b5f63f91b 100644
(file)
--- a/
src/cpp-common/bt2/clock-snapshot.hpp
+++ b/
src/cpp-common/bt2/clock-snapshot.hpp
@@
-8,10
+8,11
@@
#define BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP
#include <cstdint>
#define BABELTRACE_CPP_COMMON_BT2_CLOCK_SNAPSHOT_HPP
#include <cstdint>
+
#include <babeltrace2/babeltrace.h>
#include <babeltrace2/babeltrace.h>
+#include "exc.hpp"
#include "internal/borrowed-obj.hpp"
#include "internal/borrowed-obj.hpp"
-#include "lib-error.hpp"
namespace bt2 {
namespace bt2 {
@@
-35,7
+36,7
@@
public:
std::uint64_t value() const noexcept
{
std::uint64_t value() const noexcept
{
- return bt_clock_snapshot_get_value(this->
_
libObjPtr());
+ return bt_clock_snapshot_get_value(this->libObjPtr());
}
operator std::uint64_t() const noexcept
}
operator std::uint64_t() const noexcept
@@
-46,10
+47,10
@@
public:
std::int64_t nsFromOrigin() const
{
std::int64_t nsFromOrigin;
std::int64_t nsFromOrigin() const
{
std::int64_t nsFromOrigin;
- const auto status = bt_clock_snapshot_get_ns_from_origin(this->
_
libObjPtr(), &nsFromOrigin);
+ const auto status = bt_clock_snapshot_get_ns_from_origin(this->libObjPtr(), &nsFromOrigin);
if (status == BT_CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR) {
if (status == BT_CLOCK_SNAPSHOT_GET_NS_FROM_ORIGIN_STATUS_OVERFLOW_ERROR) {
- throw
Lib
OverflowError {};
+ throw OverflowError {};
}
return nsFromOrigin;
}
return nsFromOrigin;
This page took
0.023879 seconds
and
4
git commands to generate.