octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MSVC compiler support [patch 21]: glob_match ctor


From: John W. Eaton
Subject: MSVC compiler support [patch 21]: glob_match ctor
Date: Wed, 25 Oct 2006 21:20:55 -0400

On 17-Oct-2006, Michael Goffioul wrote:

| MSVC reports an error because it cannot differentiate glob_match()
| constructor with no argument given
| Index: liboctave/glob-match.h
| ===================================================================
| RCS file: /cvs/octave/liboctave/glob-match.h,v
| retrieving revision 1.4
| diff -p -c -r1.4 glob-match.h
| *** liboctave/glob-match.h    26 Apr 2005 19:24:29 -0000      1.4
| --- liboctave/glob-match.h    17 Oct 2006 11:07:41 -0000
| *************** public:
| *** 41,47 ****
|         period = 4     // Leading `.' is matched only explicitly.
|      };
|   
| !   glob_match (const std::string& p = std::string (),
|             unsigned int f = pathname|noescape|period)
|       : pat (p), flags (f) { }
|   
| --- 42,48 ----
|         period = 4     // Leading `.' is matched only explicitly.
|      };
|   
| !   glob_match (const std::string& p/* = std::string ()*/,
|             unsigned int f = pathname|noescape|period)
|       : pat (p), flags (f) { }
|   

OK, I made this change.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]