[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [2880] Make Regex constructor inline.
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [2880] Make Regex constructor inline. |
Date: |
Mon, 13 Oct 2008 19:20:27 +0000 |
Revision: 2880
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2880
Author: gscrivano
Date: 2008-10-13 19:20:25 +0000 (Mon, 13 Oct 2008)
Log Message:
-----------
Make Regex constructor inline.
Modified Paths:
--------------
trunk/myserver/include/base/regex/myserver_regex.h
trunk/myserver/src/base/regex/myserver_regex.cpp
Modified: trunk/myserver/include/base/regex/myserver_regex.h
===================================================================
--- trunk/myserver/include/base/regex/myserver_regex.h 2008-10-12 17:03:42 UTC
(rev 2879)
+++ trunk/myserver/include/base/regex/myserver_regex.h 2008-10-13 19:20:25 UTC
(rev 2880)
@@ -1,7 +1,7 @@
/* -*- mode: c++ -*- */
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
@@ -54,7 +54,7 @@
class Regex
{
public:
- Regex();
+ Regex(){compiled = 0;}
void clone(Regex&);
Regex(Regex&);
Regex(const char *pattern, int flags);
Modified: trunk/myserver/src/base/regex/myserver_regex.cpp
===================================================================
--- trunk/myserver/src/base/regex/myserver_regex.cpp 2008-10-12 17:03:42 UTC
(rev 2879)
+++ trunk/myserver/src/base/regex/myserver_regex.cpp 2008-10-13 19:20:25 UTC
(rev 2880)
@@ -1,6 +1,6 @@
/*
MyServer
-Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
+Copyright (C) 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
@@ -61,14 +61,6 @@
}
/*!
- *Constructor for the class.
- */
-Regex::Regex()
-{
- compiled = 0;
-}
-
-/*!
*Destructor for the class
*/
Regex::~Regex()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [2880] Make Regex constructor inline.,
Giuseppe Scrivano <=