Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vowpalwabbit/cache.cc')
-rw-r--r--vowpalwabbit/cache.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/vowpalwabbit/cache.cc b/vowpalwabbit/cache.cc
index f91eba3c..9881e7f8 100644
--- a/vowpalwabbit/cache.cc
+++ b/vowpalwabbit/cache.cc
@@ -7,8 +7,6 @@ license as described in the file LICENSE.
#include "unique_sort.h"
#include "global_data.h"
-using namespace std;
-
const size_t neg_1 = 1;
const size_t general = 2;
@@ -40,9 +38,7 @@ size_t read_cached_tag(io_buf& cache, example* ae)
return tag_size+sizeof(tag_size);
}
-struct one_float {
- float f;
-}
+struct one_float { float f; }
#ifndef _WIN32
__attribute__((packed))
#endif