[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1851 - trunk/subversion/include trunk/subversion/libsvn_fs trunk/subversion/tests/libsvn_fs

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-05-14 21:27:14 CEST

Greg Stein <gstein@lyra.org> writes:
> Ah. Then my next response would be, "drop the cast. constify the structure
> member."
>
> I don't see us changing the *contents* of the ID in the structure. We might
> point the structure to a new ID, but it would be strange to modify it in
> place. Thus, the const ought to work fine.

Yeah. Formerly, we needed them non-const because we did modify them
in place (svn_fs_precede_id(), for example) to do efficient
decrementing. But that will no longer be necessary.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 14 21:30:10 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.