Removed throws from openctm.

This commit is contained in:
bkaradzic 2012-12-01 16:15:54 -08:00
parent e3b0a82f0d
commit 8b19870cf3
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class CTMimporter {
{
CTMenum err = ctmGetError(mContext);
if(err != CTM_NONE)
throw ctm_error(err);
abort(); //throw ctm_error(err);
}
public:
@ -251,7 +251,7 @@ class CTMexporter {
{
CTMenum err = ctmGetError(mContext);
if(err != CTM_NONE)
throw ctm_error(err);
abort(); //throw ctm_error(err);
}
public:

View File

@ -168,7 +168,7 @@ Source& GetSource(map<string, Source >& sources, map<string, vector<Input> >& ve
}
} else {
throw string("Error");
abort(); //throw string("Error");
}
return srcIterator->second;