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:
@@ -350,7 +350,7 @@ Json::Value CacheMemory::JsonValue() {
|
||||
}
|
||||
|
||||
// Load JSON string into this object
|
||||
void CacheMemory::SetJson(string value) throw(InvalidJSON) {
|
||||
void CacheMemory::SetJson(string value) {
|
||||
|
||||
// Parse JSON string into JSON objects
|
||||
Json::Value root;
|
||||
@@ -373,7 +373,7 @@ void CacheMemory::SetJson(string value) throw(InvalidJSON) {
|
||||
}
|
||||
|
||||
// Load Json::JsonValue into this object
|
||||
void CacheMemory::SetJsonValue(Json::Value root) throw(InvalidFile, ReaderClosed) {
|
||||
void CacheMemory::SetJsonValue(Json::Value root) {
|
||||
|
||||
// Close timeline before we do anything (this also removes all open and closing clips)
|
||||
Clear();
|
||||
@@ -383,4 +383,4 @@ void CacheMemory::SetJsonValue(Json::Value root) throw(InvalidFile, ReaderClosed
|
||||
|
||||
if (!root["type"].isNull())
|
||||
cache_type = root["type"].asString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user