Mercurial > hg > orthanc-stone
comparison Framework/Loaders/DicomResourcesLoader.cpp @ 1311:3d26447ddd28 broker
warning fixes + doc + indentation + header files in cmake for VC++ sln browsing
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 09 Mar 2020 14:55:22 +0100 |
parents | c38c89684d83 |
children | 30deba7bc8e2 |
comparison
equal
deleted
inserted
replaced
1310:9bea7e15b519 | 1311:3d26447ddd28 |
---|---|
808 (shared_from_this(), target, priority, source, | 808 (shared_from_this(), target, priority, source, |
809 remainingCommands, bottomLevel, protection)); | 809 remainingCommands, bottomLevel, protection)); |
810 | 810 |
811 { | 811 { |
812 std::unique_ptr<ILoadersContext::ILock> lock(context_.Lock()); | 812 std::unique_ptr<ILoadersContext::ILock> lock(context_.Lock()); |
813 | |
814 // GetSharedObserver() means "this" (for use as an IObserver), as a | |
815 // shared_ptr | |
816 // The oracle will thus call "this" | |
813 lock->Schedule(GetSharedObserver(), priority, command.release()); | 817 lock->Schedule(GetSharedObserver(), priority, command.release()); |
814 } | 818 } |
815 } | 819 } |
816 } | 820 } |
817 | 821 |