r3353 - in trunk/libmutil: include/libmutil source

Mikael Magnusson mikma264 at gmail.com
Wed Aug 8 21:14:18 CEST 2007


On Wed, Aug 08, 2007 at 10:42:26AM +0200, mikaelsv at minisip.org wrote:
> Author: mikaelsv
> Date: 2007-08-08 10:42:26 +0200 (Wed, 08 Aug 2007)
> New Revision: 3353
> 
> Modified:
>    trunk/libmutil/include/libmutil/Timestamp.h
>    trunk/libmutil/source/Timestamp.cxx
> Log:
> * The Timestamp class has been extended so that logs can be writted to
>   arbitrary filenames, and not only to the fixed location previously used.
> 
...
> 
> Modified: trunk/libmutil/source/Timestamp.cxx
> ===================================================================
> --- trunk/libmutil/source/Timestamp.cxx	2007-08-08 08:38:19 UTC (rev 3352)
> +++ trunk/libmutil/source/Timestamp.cxx	2007-08-08 08:42:26 UTC (rev 3353)
...
> @@ -106,12 +106,20 @@
>  #endif
>  
>  #ifdef WIN32
> -	void Timestamp::print(){}
> +	void Timestamp::print(std::string fileName){}
>  #else
> -	void Timestamp::print(){
> +	void Timestamp::print() {
> +		print(FILE_NAME);
> +	}
> +#endif
> +

Win32 build fails because of the changes above.
Timestamp::print(std::string fileName) is already defined.

/Mikael M



More information about the Minisip-devel mailing list