Skip to content

Commit 3f273ad

Browse files
authored
add define guard for WFMySQLConnection.h (#335)
1 parent 84571d8 commit 3f273ad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/client/WFMySQLConnection.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
Author: Xie Han (xiehan@sogou-inc.com)
1717
*/
1818

19+
#ifndef _WFMYSQLCONNECTION_H_
20+
#define _WFMYSQLCONNECTION_H_
21+
1922
#include <string>
2023
#include <utility>
2124
#include <functional>
@@ -73,3 +76,5 @@ WFMySQLConnection::create_disconnect_task(mysql_callback_t callback)
7376
return task;
7477
}
7578

79+
#endif
80+

0 commit comments

Comments
 (0)