Mercurial > hg > orthanc
comparison Core/Images/JpegReader.h @ 1925:56276bad7e42
removal of two overloads making few sense
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Mar 2016 16:56:34 +0100 |
parents | 7454019be8f3 |
children | baf8dd89b4e0 |
comparison
equal
deleted
inserted
replaced
1924:6c73df12ca51 | 1925:56276bad7e42 |
---|---|
45 { | 45 { |
46 private: | 46 private: |
47 std::string content_; | 47 std::string content_; |
48 | 48 |
49 public: | 49 public: |
50 void ReadFromFile(const char* filename); | 50 void ReadFromFile(const std::string& filename); |
51 | |
52 void ReadFromFile(const std::string& filename) | |
53 { | |
54 ReadFromFile(filename.c_str()); | |
55 } | |
56 | 51 |
57 void ReadFromMemory(const void* buffer, | 52 void ReadFromMemory(const void* buffer, |
58 size_t size); | 53 size_t size); |
59 | 54 |
60 void ReadFromMemory(const std::string& buffer); | 55 void ReadFromMemory(const std::string& buffer); |