mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Update doc comment in src/Context.h
Co-authored-by: Tomas Babej <tomas@tbabej.com>
This commit is contained in:
parent
65830dd705
commit
277ce0e226
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// CurrentTask resets Context::currentTask to NULL on destruction; this ensures
|
// CurrentTask resets Context::currentTask to previous context task on destruction; this ensures
|
||||||
// that this context value is not a dangling pointer.
|
// that this context value is restored when exiting the scope where the context was applied.
|
||||||
class CurrentTask {
|
class CurrentTask {
|
||||||
public:
|
public:
|
||||||
~CurrentTask();
|
~CurrentTask();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue