projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: coding style fix and missing method in lttng::ctl::error
[lttng-tools.git]
/
src
/
common
/
exception.hpp
diff --git
a/src/common/exception.hpp
b/src/common/exception.hpp
index 30a40347050e8839c210e5bb461540f41186a92f..1efd80359654bb34de8af78708a131cd8b194db2 100644
(file)
--- a/
src/common/exception.hpp
+++ b/
src/common/exception.hpp
@@
-54,10
+54,14
@@
public:
const char *file_name,
const char *function_name,
unsigned int line_number);
const char *file_name,
const char *function_name,
unsigned int line_number);
- lttng_error_code get_code() const;
+
+ lttng_error_code code() const noexcept
+ {
+ return _error_code;
+ }
private:
private:
- lttng_error_code _error_code;
+
const
lttng_error_code _error_code;
};
} /* namespace ctl */
};
} /* namespace ctl */
This page took
0.02275 seconds
and
4
git commands to generate.