Skip to content

Commit

Permalink
add define guard for WFMySQLConnection.h (sogou#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
holmes1412 committed Apr 12, 2021
1 parent 84571d8 commit 3f273ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/WFMySQLConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
Author: Xie Han (xiehan@sogou-inc.com)
*/

#ifndef _WFMYSQLCONNECTION_H_
#define _WFMYSQLCONNECTION_H_

#include <string>
#include <utility>
#include <functional>
Expand Down Expand Up @@ -73,3 +76,5 @@ WFMySQLConnection::create_disconnect_task(mysql_callback_t callback)
return task;
}

#endif

0 comments on commit 3f273ad

Please sign in to comment.