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: Michael Goffioul
Subject: MSVC compiler support [patch 21]: glob_match ctor
Date: Tue, 17 Oct 2006 21:54:05 +0200
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

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) { }
  

reply via email to

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