Mercurial > hg > orthanc-stone
comparison Applications/Samples/WebAssembly/RtViewer/RtViewerWasm.cpp @ 1640:52b8b96cb55f
cleaning namespaces
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Nov 2020 16:55:22 +0100 |
parents | 4c9e68291467 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1639:5cdc5b98f14d | 1640:52b8b96cb55f |
---|---|
129 } | 129 } |
130 | 130 |
131 | 131 |
132 void RtViewerApp::RunWasm() | 132 void RtViewerApp::RunWasm() |
133 { | 133 { |
134 loadersContext_.reset(new OrthancStone::WebAssemblyLoadersContext(1, 4, 1)); | 134 loadersContext_.reset(new WebAssemblyLoadersContext(1, 4, 1)); |
135 | 135 |
136 // we are in WASM --> downcast to concrete type | 136 // we are in WASM --> downcast to concrete type |
137 boost::shared_ptr<WebAssemblyLoadersContext> loadersContext = | 137 boost::shared_ptr<WebAssemblyLoadersContext> loadersContext = |
138 boost::dynamic_pointer_cast<WebAssemblyLoadersContext>(loadersContext_); | 138 boost::dynamic_pointer_cast<WebAssemblyLoadersContext>(loadersContext_); |
139 | 139 |