Added include guards to stringappend and redis-list

Summary: added "#pragma once" in the .h files

Test Plan: make and run: stringappend_test, redis_test

Reviewers: emayanke, haobo

Reviewed By: emayanke

CC: leveldb

Differential Revision: https://reviews.facebook.net/D12495
This commit is contained in:
Deon Nicholas 2013-08-23 10:28:16 -07:00
parent 74781a0c49
commit 6f4e3ee3e8
4 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@
* Copyright 2013 Facebook
*/
#pragma once
#include "leveldb/merge_operator.h"
#include "leveldb/slice.h"

View File

@ -10,6 +10,8 @@
* Copyright 2013 Facebook
*/
#pragma once
#include "leveldb/merge_operator.h"
#include "leveldb/slice.h"

View File

@ -37,6 +37,8 @@
* Copyright 2013 Facebook
*/
#pragma once
#include <string>
#include "redis_list_exception.h"

View File

@ -8,6 +8,8 @@
* Copyright 2013 Facebook
*/
#pragma once
#include <string>
#include "leveldb/db.h"
#include "redis_list_iterator.h"