aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Gonzalve <sebastien.gonzalve@intel.com>2015-04-08 11:46:02 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:13 -0700
commit948ab0bc3108cd283e5f83b2b59bcdf8ba0346da (patch)
tree019c12ccc21d3e7f61081e3a526efaeba8966e85
parent62054178e7284220a754e91fabeea6a309c17afa (diff)
downloadexternal_parameter-framework-948ab0bc3108cd283e5f83b2b59bcdf8ba0346da.zip
external_parameter-framework-948ab0bc3108cd283e5f83b2b59bcdf8ba0346da.tar.gz
external_parameter-framework-948ab0bc3108cd283e5f83b2b59bcdf8ba0346da.tar.bz2
Prevent multiple inclusions of NativeTokenizer header
Added #pragma once on top of the file to prevent multiple inclusion. Change-Id: I351ada48e16bf6bfe84b546da5581b1aa6bce03e Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com>
-rw-r--r--utility/NaiveTokenizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utility/NaiveTokenizer.h b/utility/NaiveTokenizer.h
index 2558e37..67abc9a 100644
--- a/utility/NaiveTokenizer.h
+++ b/utility/NaiveTokenizer.h
@@ -28,6 +28,8 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#pragma once
+
class NaiveTokenizer {
public:
/** tokenize a space-separated string, handling quotes