aboutsummaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-10-02 13:13:03 +0000
committerMike Buland <eichlan@xagasoft.com>2008-10-02 13:13:03 +0000
commit7ae633f8a997997524cded2d205d14eeb5f08051 (patch)
tree7e773bd0b4a1aea83534a6ce5c80c9f4269e20f5 /src/file.h
parentb6f57560fb7fae00f0854ca19158bd5512e5405b (diff)
downloadlibbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.gz
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.bz2
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.tar.xz
libbu++-7ae633f8a997997524cded2d205d14eeb5f08051.zip
Updated on my laptop and discovered that the new, more pedantic gcc had a
problem with a missing include. Also, if you get errors about conflicts and things being declared twice, then "rm src/exceptions.o" it shouldn't be sneaking in there still, but it may be. then do a full "build -c all" and build. Oh, also found some solid gold taf code that never got included, but is very much needed. Remembering to commit would be useful...
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/file.h b/src/file.h
index 40419b0..a50d53c 100644
--- a/src/file.h
+++ b/src/file.h
@@ -76,12 +76,7 @@ namespace Bu
76 *@returns (Bu::File) A file object representing your temp file. 76 *@returns (Bu::File) A file object representing your temp file.
77 */ 77 */
78#ifndef WIN32 78#ifndef WIN32
79 inline static Bu::File tempFile( Bu::FString &sName, int /*iFlags*/ ) 79 static Bu::File tempFile( Bu::FString &sName, int iFlags );
80 {
81 int afh_d = mkstemp( sName.getStr() );
82
83 return Bu::File( afh_d );
84 }
85 80
86 /** 81 /**
87 * Set the size of the file to (nSize). You can either grow or shrink 82 * Set the size of the file to (nSize). You can either grow or shrink