mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
Code Cleanup
- Obsoleted Context::disallowModifications, because they are no longer disallowed.
This commit is contained in:
parent
a16b8366cd
commit
b5f04a3ebc
2 changed files with 0 additions and 15 deletions
|
@ -393,20 +393,6 @@ void Context::shadow ()
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
void Context::disallowModification () const
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
if (task.size () ||
|
|
||||||
subst.mFrom != "" ||
|
|
||||||
tagAdditions.size () ||
|
|
||||||
tagRemovals.size ())
|
|
||||||
throw std::string ("The '")
|
|
||||||
// + cmd.command
|
|
||||||
+ "' command does not allow further modification of a task.";
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Context::assumeLocations ()
|
void Context::assumeLocations ()
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,7 +67,6 @@ public:
|
||||||
void clearMessages ();
|
void clearMessages ();
|
||||||
void clear ();
|
void clear ();
|
||||||
|
|
||||||
void disallowModification () const;
|
|
||||||
void decomposeSortField (const std::string&, std::string&, bool&);
|
void decomposeSortField (const std::string&, std::string&, bool&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue