comparison Framework/Plugins/StorageBackend.cpp @ 249:7f5ee2b42a86

better performance warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Apr 2021 10:07:14 +0200
parents 483af3f35a4b
children 33fa478c119a
comparison
equal deleted inserted replaced
248:7a4f9bcb0bc2 249:7f5ee2b42a86
27 27
28 #include "../../Framework/Common/BinaryStringValue.h" 28 #include "../../Framework/Common/BinaryStringValue.h"
29 #include "../../Framework/Common/ResultFileValue.h" 29 #include "../../Framework/Common/ResultFileValue.h"
30 30
31 #include <Compatibility.h> // For std::unique_ptr<> 31 #include <Compatibility.h> // For std::unique_ptr<>
32 #include <Logging.h>
32 #include <OrthancException.h> 33 #include <OrthancException.h>
33 34
34 #include <cassert> 35 #include <cassert>
35 #include <limits> 36 #include <limits>
36 37
585 # endif 586 # endif
586 #endif 587 #endif
587 588
588 if (!hasLoadedV2) 589 if (!hasLoadedV2)
589 { 590 {
591 LOG(WARNING) << "Performance warning: Your version of the Orthanc SDK doesn't support reading of file ranges";
590 OrthancPluginRegisterStorageArea(context_, StorageCreate, StorageRead, StorageRemove); 592 OrthancPluginRegisterStorageArea(context_, StorageCreate, StorageRead, StorageRemove);
591 } 593 }
592 } 594 }
593 } 595 }
594 596