diff Platforms/WebAssembly/Defaults.cpp @ 229:b0ba3b38a23c am

ScheduleRedraw can handle multiple viewports
author am@osimis.io
date Thu, 14 Jun 2018 16:51:43 +0200
parents 210c1ce8e1a6
children 5027cb2feb51
line wrap: on
line diff
--- a/Platforms/WebAssembly/Defaults.cpp	Thu Jun 14 15:06:29 2018 +0200
+++ b/Platforms/WebAssembly/Defaults.cpp	Thu Jun 14 16:51:43 2018 +0200
@@ -24,8 +24,9 @@
     if (v.get() == viewport) {
       return v;
     }
-    assert(false);
   }
+  assert(false);
+  return std::shared_ptr<OrthancStone::WidgetViewport>();
 }
 
 #ifdef __cplusplus