]> git.mxchange.org Git - simgear.git/commitdiff
- fix one broken #include path (in a not usually compiled test app)
authormfranz <mfranz>
Tue, 12 May 2009 15:56:30 +0000 (15:56 +0000)
committerTim Moore <timoore@redhat.com>
Sat, 16 May 2009 14:18:37 +0000 (16:18 +0200)
- turn four #include paths from the "foo" form to <foo>

The quotes form is normally only used for headers with path relative
to the including file's path, though the standard doesn't strictly
mandate this. This is consistent with the rest of sg, it makes the
code's intent clearer and helps to find headers. (And it's a few
milliseconds faster, too.)

simgear/debug/logtest.cxx
simgear/math/interpolater.hxx
simgear/misc/tabbed_values.cxx
simgear/threads/SGThread.cxx
simgear/xml/xmldef.h

index afa5ddcc2a816c124196278334ecc0f6f3a4facf..07a6501a16412ec498258dc7a37782e980d4556f 100644 (file)
@@ -1,5 +1,5 @@
 #include <string>
-#include "Debug/logstream.hxx"
+#include <simgear/debug/logstream.hxx>
 
 class Test {
 
index 0df566a92357d3e2d4357e475e0f38d0831c4d05..393e39ffb267ba58c3bfe0505d1a8f1fda2903db 100644 (file)
@@ -35,7 +35,7 @@
 
 #include <simgear/compiler.h>
 
-#include "simgear/structure/SGReferenced.hxx"
+#include <simgear/structure/SGReferenced.hxx>
 
 #include <map>
 
index dc4d34bc4df24d1d62d829224fc9f4b84071b520..07ed20631b3dfdd334436d7dc59dad17818cdce5 100644 (file)
 // $Id$
 
 #include <cstdlib>
+#include <assert.h>
 
 #include "tabbed_values.hxx"
 
-#include "assert.h"
 
 SGTabbedValues::SGTabbedValues(const char *line) :
        _line(line)
index d786c24a1a496dcace9e6335c0aafc53396d1883..c7a841b02bb9d8b0ddb3dadbf3621baca0812ca5 100644 (file)
@@ -11,7 +11,7 @@
 #  include <sys/time.h>
 #endif
 #if _MSC_VER >= 1300
-#  include "winsock2.h"
+#  include <winsock2.h>
 #endif
 
 #include "SGThread.hxx"
index 49ce9ed636c516b3f3e0d475419137c2b12c564a..81de339bc7b294de3e87c1eb82cb44b587150aad 100644 (file)
@@ -53,7 +53,7 @@ particular environments. */
 
 #ifdef MOZILLA
 
-#include "nspr.h"
+#include <nspr.h>
 #define malloc(x) PR_Malloc(x)
 #define realloc(x, y) PR_Realloc((x), (y))
 #define calloc(x, y) PR_Calloc((x),(y))