I see, thanks.  I will update.

On Tue, Oct 30, 2012 at 7:53 PM, Mateusz Loskot <[email protected]> wrote:

> On 30 October 2012 20:00, Candy Chiu <[email protected]> wrote:
> > Hi - What's the logic behind calling convert_from_base() in
> > use_type<values>::post_use(bool)?
>
> Are you referring to the code from the Git master?
>
> This conversion has been removed by Vadim as redundant
>
>
> https://github.com/SOCI/soci/commit/22e740a6bd1c120c3608dbaaf57a22b425937e65
>
> diff --git src/core/use-type.cpp src/core/use-type.cpp
> index 99374f2..a3d2016 100644
> --- src/core/use-type.cpp
> +++ src/core/use-type.cpp
> @@ -39,7 +39,9 @@ void standard_use_type::pre_use()
>  void standard_use_type::post_use(bool gotData)
>  {
>      backEnd_->post_use(gotData, ind_);
> -    convert_from_base();
> +
> +    // There is no need to call convert_from_base() here, the converted
> value
> +    // wouldn't be used anyhow.
>  }
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to