diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-11 23:19:15 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-02-11 23:19:15 +1100 |
| commit | 76f3ef1d7c2b4393a8e8b402deb924e606448d27 (patch) | |
| tree | a291bec0544f007536a41ec1f590338aee1163e9 /src/context.hh | |
| parent | 77e2be172718878b38999efc247ce7571435fcc8 (diff) | |
More cleanup, fix lifetime and mutex issues
Diffstat (limited to 'src/context.hh')
| -rw-r--r-- | src/context.hh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/context.hh b/src/context.hh new file mode 100644 index 0000000..5972740 --- /dev/null +++ b/src/context.hh @@ -0,0 +1,21 @@ +#ifndef CONTEXT_HH_ +#define CONTEXT_HH_ + +// The purpose of this class is to provide a base class for Context classes. + +namespace low_latency { + +class Context { + +public: + Context(); + Context(const Context& context) = delete; + Context(Context&& context) = delete; + Context operator=(const Context& context) = delete; + Context operator=(Context&& context) = delete; + virtual ~Context(); +}; + +} // namespace low_latency + +#endif
\ No newline at end of file |
