Hi,

On Thu, 2017-07-20 at 15:30 +0200, Joerg Sonnenberger wrote:
> Passing anything to Load() which was not explicit a long, i.e.
> std::string::size() would result in the former method be choosen...

Ah, I see, that's unfortunate and unintended. The idea behind the
change was to not break the API, as I hope you understand. The only
feasible option is to remove the default value for the variant with the
buffer, I guess. The thing is that I doubt that having:

   Load(const char *);
   Load(const char *, bool);
   Load(const char *, long);
   Load(const char *, long, bool);

would make any real difference when using only two arguments, where the
second would not be explicit 'long', just the same as it does now.
        Bye,
        zyx

-- 
http://www.litePDF.cz                                 i...@litepdf.cz

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to