separate RenameOp definition from implementation to avoid gcc 4.3 errors

git-svn-id: http://encfs.googlecode.com/svn/trunk@31 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
Valient Gough 2008-07-01 07:44:51 +00:00
parent ff1c0828d8
commit 9bee8d7355

View File

@ -190,7 +190,18 @@ public:
{
}
~RenameOp()
~RenameOp();
operator bool () const
{
return renameList;
}
bool apply();
void undo();
};
RenameOp::~RenameOp()
{
if(renameList)
{
@ -205,12 +216,7 @@ public:
}
}
operator bool () const
{
return renameList;
}
bool apply()
bool RenameOp::apply()
{
try
{
@ -246,7 +252,7 @@ public:
}
}
void undo()
void RenameOp::undo()
{
rDebug("in undoRename");
@ -283,7 +289,6 @@ public:
rWarning("Undo rename count: %i", undoCount);
}
};
DirNode::DirNode(EncFS_Context *_ctx,
const string &sourceDir, const shared_ptr<Config> &_config)