changeset 233:82f86151bc4b

The compiler in the Travis environment seems to have trouble with this initialiser, change it
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 13 Jun 2017 09:45:41 +0100
parents 09b7eab40dbf
children 9ec8a707408e
files vamp-json/VampJson.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vamp-json/VampJson.h	Tue Jun 13 08:44:07 2017 +0100
+++ b/vamp-json/VampJson.h	Tue Jun 13 09:45:41 2017 +0100
@@ -264,7 +264,7 @@
         StaticOutputDescriptor sd;
         if (!j.is_object()) {
             err = "object expected for static output descriptor";
-            return {};
+            return sd;
         }
 
         sd.typeURI = j["typeURI"].string_value();