[osmpbf] 21/22: Add IWYU pragmas.

Bas Couwenberg sebastic at xs4all.nl
Sun Mar 16 10:08:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to tag v1.3.1
in repository osmpbf.

commit 0d9ce002574b6baba915339226c52a5d380e6e2d
Author: Jochen Topf <jochen at topf.org>
Date:   Wed Nov 27 10:07:37 2013 +0100

    Add IWYU pragmas.
    
    These pragmas are used by the IWYU (Include-What-You-Use) program to find out
    which header files need to be included in your C/C++ program. The pragmas
    added tell IWYU that osmpbf.h acts as a "facade" for the other header files.
---
 include/osmpbf/osmpbf.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/osmpbf/osmpbf.h b/include/osmpbf/osmpbf.h
index 9dd8de1..4d3295c 100644
--- a/include/osmpbf/osmpbf.h
+++ b/include/osmpbf/osmpbf.h
@@ -2,10 +2,10 @@
 #define OSMPBF_H
 
 // this describes the low-level blob storage
-#include <osmpbf/fileformat.pb.h>
+#include <osmpbf/fileformat.pb.h> // IWYU pragma: export
 
 // this describes the high-level OSM objects
-#include <osmpbf/osmformat.pb.h>
+#include <osmpbf/osmformat.pb.h> // IWYU pragma: export
 
 #define OSMPBF_VERSION "1.3.0"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmpbf.git



More information about the Pkg-grass-devel mailing list