Link Here
|
1 |
--- ./src/image_process.h.orig 2014-01-15 15:00:06.000000000 +0000 |
1 |
--- ./src/image_process.h.orig 2014-06-09 15:36:51.000000000 +0000 |
2 |
+++ ./src/image_process.h 2014-06-09 14:15:54.000000000 +0000 |
2 |
+++ ./src/image_process.h 2014-06-26 20:27:00.000000000 +0000 |
3 |
@@ -128,7 +128,7 @@ |
|
|
4 |
virtual int open()=0; /* open; return 0 if successful */ |
5 |
virtual int pread(uint8_t *,size_t bytes,int64_t offset) const =0; /* read */ |
6 |
virtual int64_t image_size() const=0; |
7 |
- virtual std::string image_fname() const { return image_fname_;} |
8 |
+ virtual const std::string &image_fname() const { return image_fname_;} |
9 |
|
10 |
/* iterator support; these virtual functions are called by iterator through (*myimage) */ |
11 |
virtual image_process::iterator begin() const =0; |
12 |
@@ -154,7 +154,7 @@ |
3 |
@@ -154,7 +154,7 @@ |
13 |
****************************************************************/ |
4 |
****************************************************************/ |
14 |
|
5 |
|