You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Removing throw statements from header files (thanks Peter)
This commit is contained in:
@@ -143,7 +143,7 @@ void TextReader::Close()
|
||||
}
|
||||
|
||||
// Get an openshot::Frame object for a specific frame number of this reader.
|
||||
std::shared_ptr<Frame> TextReader::GetFrame(int64_t requested_frame) throw(ReaderClosed)
|
||||
std::shared_ptr<Frame> TextReader::GetFrame(int64_t requested_frame)
|
||||
{
|
||||
if (image)
|
||||
{
|
||||
@@ -197,7 +197,7 @@ Json::Value TextReader::JsonValue() {
|
||||
}
|
||||
|
||||
// Load JSON string into this object
|
||||
void TextReader::SetJson(string value) throw(InvalidJSON) {
|
||||
void TextReader::SetJson(string value) {
|
||||
|
||||
// Parse JSON string into JSON objects
|
||||
Json::Value root;
|
||||
@@ -220,7 +220,7 @@ void TextReader::SetJson(string value) throw(InvalidJSON) {
|
||||
}
|
||||
|
||||
// Load Json::JsonValue into this object
|
||||
void TextReader::SetJsonValue(Json::Value root) throw(InvalidFile) {
|
||||
void TextReader::SetJsonValue(Json::Value root) {
|
||||
|
||||
// Set parent data
|
||||
ReaderBase::SetJsonValue(root);
|
||||
|
||||
Reference in New Issue
Block a user