Skip to content
This repository
Browse code

eliminate "#pragma once" (fix #313)

  • Loading branch information...
commit eb9fe757066291d77106d71abda66fe73f101297 1 parent 88f2d13
Kenichi Maehashi kmaehashi authored

Showing 3 changed files with 12 additions and 3 deletions. Show diff stats Hide diff stats

  1. +4 1 src/client.hpp
  2. +4 1 src/framework.hpp
  3. +4 1 src/plugin.hpp
5 src/client.hpp
@@ -14,7 +14,8 @@
14 14 // License along with this library; if not, write to the Free Software
15 15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 16
17   -#pragma once
  17 +#ifndef JUBATUS_CLIENT_HPP_
  18 +#define JUBATUS_CLIENT_HPP_
18 19
19 20 //=============================================================//
20 21 // //
@@ -38,3 +39,5 @@
38 39 #include <jubatus/client/regression_client.hpp>
39 40 #include <jubatus/client/graph_client.hpp>
40 41 #include <jubatus/client/anomaly_client.hpp>
  42 +
  43 +#endif // JUBATUS_CLIENT_HPP_
5 src/framework.hpp
@@ -14,9 +14,12 @@
14 14 // License along with this library; if not, write to the Free Software
15 15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 16
17   -#pragma once
  17 +#ifndef JUBATUS_FRAMEWORK_HPP_
  18 +#define JUBATUS_FRAMEWORK_HPP_
18 19
19 20 // #include "config.hpp"
20 21 #include "framework/mixable.hpp"
21 22 #include "framework/server_helper.hpp"
22 23 #include "framework/server_util.hpp"
  24 +
  25 +#endif // JUBATUS_FRAMEWORK_HPP_
5 src/plugin.hpp
@@ -14,9 +14,12 @@
14 14 // License along with this library; if not, write to the Free Software
15 15 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 16
17   -#pragma once
  17 +#ifndef JUBATUS_PLUGIN_HPP_
  18 +#define JUBATUS_PLUGIN_HPP_
18 19
19 20 #include <jubatus/fv_converter/word_splitter.hpp>
20 21 #include <jubatus/fv_converter/string_filter.hpp>
21 22 #include <jubatus/fv_converter/num_feature.hpp>
22 23 #include <jubatus/fv_converter/num_filter.hpp>
  24 +
  25 +#endif // JUBATUS_PLUGIN_HPP_

0 comments on commit eb9fe75

Please sign in to comment.
Something went wrong with that request. Please try again.