Permalink
Browse files

eliminate "#pragma once" (fix #313)

  • Loading branch information...
1 parent 88f2d13 commit eb9fe757066291d77106d71abda66fe73f101297 @kmaehashi kmaehashi committed Apr 9, 2013
Showing with 12 additions and 3 deletions.
  1. +4 −1 src/client.hpp
  2. +4 −1 src/framework.hpp
  3. +4 −1 src/plugin.hpp
View
@@ -14,7 +14,8 @@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-#pragma once
+#ifndef JUBATUS_CLIENT_HPP_
+#define JUBATUS_CLIENT_HPP_
//=============================================================//
// //
@@ -38,3 +39,5 @@
#include <jubatus/client/regression_client.hpp>
#include <jubatus/client/graph_client.hpp>
#include <jubatus/client/anomaly_client.hpp>
+
+#endif // JUBATUS_CLIENT_HPP_
View
@@ -14,9 +14,12 @@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-#pragma once
+#ifndef JUBATUS_FRAMEWORK_HPP_
+#define JUBATUS_FRAMEWORK_HPP_
// #include "config.hpp"
#include "framework/mixable.hpp"
#include "framework/server_helper.hpp"
#include "framework/server_util.hpp"
+
+#endif // JUBATUS_FRAMEWORK_HPP_
View
@@ -14,9 +14,12 @@
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-#pragma once
+#ifndef JUBATUS_PLUGIN_HPP_
+#define JUBATUS_PLUGIN_HPP_
#include <jubatus/fv_converter/word_splitter.hpp>
#include <jubatus/fv_converter/string_filter.hpp>
#include <jubatus/fv_converter/num_feature.hpp>
#include <jubatus/fv_converter/num_filter.hpp>
+
+#endif // JUBATUS_PLUGIN_HPP_

0 comments on commit eb9fe75

Please sign in to comment.