Code Cleanup

- Obsoleted Context::disallowModifications, because they are no longer
  disallowed.
This commit is contained in:
Paul Beckingham 2011-07-09 23:27:20 -04:00
parent a16b8366cd
commit b5f04a3ebc
2 changed files with 0 additions and 15 deletions

View file

@ -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 ()
{ {

View file

@ -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: