1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 07:33:14 +02:00

Replaced time_t with long in the ValueItem class, this was preventing building under FreeBSD. Works under FreeBSD and Linux now.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2098 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-02-16 20:35:56 +00:00
parent 8d90a23689
commit 6bd851a4d0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ class ValueItem
ValueItem(const char *);
/** Initialize with an std::string */
ValueItem(const std::string &);
/** Initialize with time_t **/
ValueItem(time_t);
/** Initialize with a long */
ValueItem(long);
/** Change value to a char pointer */
//void Set(char *);
/** Change value to a const char pointer */
+1 -1
View File
@@ -1515,7 +1515,7 @@ ValueItem::ValueItem(int value) : v("")
v = n.str();
}
ValueItem::ValueItem(time_t value) : v("")
ValueItem::ValueItem(long value) : v("")
{
std::stringstream n;
n << value;