diff --git a/Dockerfile b/Dockerfile
index 340f23aeaef6586789737c008bf9f7b27f6488d6..a4ecb22278b03bfa5617220aece7efda01f768cf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,7 +22,7 @@ RUN mkdir -p relic-target-sym
 WORKDIR "/home/relic-0.6.0/relic-target-sym"
 RUN cmake -DLABEL=sym ..
 RUN ../preset/gmp-pbc-ss1536.sh ../
-RUN make -w
+RUN make
 RUN make install
 
 # Library installation, install the asymmetric curve.
@@ -31,7 +31,7 @@ RUN mkdir -p relic-target-asym
 WORKDIR "/home/relic-0.6.0/relic-target-asym"
 RUN cmake -DLABEL=asym ..
 RUN ../preset/gmp-pbc-bn254.sh ../
-RUN make -w
+RUN make
 RUN make install
 
 # Copy the files over to working directory.
diff --git a/include/asym_field.h b/include/asym_field.h
index c932030b9076ffb3ed2c67e5f47bbe6ac4ddd84e..6eba2b5da74635af55b8376a5dc32f38f04a8105 100644
--- a/include/asym_field.h
+++ b/include/asym_field.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_ASYM_FIELD_H
-#define PPANN_ASYM_FIELD_H
+#pragma once
 
 #include <gmp.h>
 
@@ -32,6 +31,4 @@ ZP_ASYM zp_inv(ZP_ASYM x);
 
 int zp_cmp(ZP_ASYM x, ZP_ASYM y);
 
-int zp_cmp_int(ZP_ASYM x, int y);
-
-#endif //PPANN_ASYM_FIELD_H
+int zp_cmp_int(ZP_ASYM x, int y);
\ No newline at end of file
diff --git a/include/asym_group.h b/include/asym_group.h
index 9278d8a1d3ad581ae7843ac86617c2e480882128..45b1c93e66422871d71e61f4effc3e85a3d8190e 100644
--- a/include/asym_group.h
+++ b/include/asym_group.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_ASYM_GROUP_H
-#define PPANN_ASYM_GROUP_H
+#pragma once
 
 #include "asym_field.h"
 
@@ -17,6 +16,4 @@ void g2_mul(g2_asym r, g2_asym x, ZP_ASYM y);
 
 void gt_raise(gt_asym r, gt_asym x, ZP_ASYM y);
 
-void bp_map(gt_asym r, g1_asym x, g2_asym y);
-
-#endif //PPANN_ASYM_GROUP_H
\ No newline at end of file
+void bp_map(gt_asym r, g1_asym x, g2_asym y);
\ No newline at end of file
diff --git a/include/helper.h b/include/helper.h
index ae2291cb88debd5f670537b98d019793eb6c7c33..9fc23b16efb14de9a1aa44cecc9c29de4662366a 100644
--- a/include/helper.h
+++ b/include/helper.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_HELPER_H
-#define PPANN_HELPER_H
+#pragma once
 
 #include <cstdio>
 #include <cstring>
@@ -13,6 +12,4 @@ int *ivecs_read(const char *file_path, size_t *d_out, size_t *n_out);
 
 int *float_to_int(const float *data, size_t size);
 
-Item *encrypt_data(const int *data, Key key, size_t d, size_t n);
-
-#endif //PPANN_HELPER_H
\ No newline at end of file
+Item *encrypt_data(const int *data, Key key, size_t d, size_t n);
\ No newline at end of file
diff --git a/include/hnsw.h b/include/hnsw.h
index 8626601b9fd714513ccfa824fcb49615059865f0..fcd6da7ca0aa164e5d4fc5ecae978a368bcdfa98 100644
--- a/include/hnsw.h
+++ b/include/hnsw.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_HNSW_H
-#define PPANN_HNSW_H
+#pragma once
 
 #include <set>
 #include <random>
@@ -61,5 +60,3 @@ struct HNSWGraph {
 
     vector<int> searchLayer(Item &q, int ep, int ef, int lc);
 };
-
-#endif //PPANN_HNSW_H
diff --git a/include/ipre.h b/include/ipre.h
index 542f16fc3e4915db1b116b9977ea28075526fe1f..65695b969c1fd236e1e63d5716690af03103be3a 100644
--- a/include/ipre.h
+++ b/include/ipre.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_IPRE_H
-#define PPANN_IPRE_H
+#pragma once
 
 #include "sym_vector.h"
 #include "sym_matrix.h"
@@ -25,6 +24,4 @@ Key setup(int size);
 
 Ct enc(Key key, const int *message, int size);
 
-int eval(Key key, Ct x, Ct y, int size, int bound);
-
-#endif //PPANN_IPRE_H
\ No newline at end of file
+int eval(Key key, Ct x, Ct y, int size, int bound);
\ No newline at end of file
diff --git a/include/sym_field.h b/include/sym_field.h
index 59206c9f69d95f0cbcaac82b52b412b22c2f78ee..b4dc474b8678e3a69029f19bf417b3624fb22147 100644
--- a/include/sym_field.h
+++ b/include/sym_field.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_SYM_FIELD_H
-#define PPANN_SYM_FIELD_H
+#pragma once
 
 #include <gmp.h>
 
@@ -32,6 +31,4 @@ ZP_SYM zp_inv(ZP_SYM x);
 
 int zp_cmp(ZP_SYM x, ZP_SYM y);
 
-int zp_cmp_int(ZP_SYM x, int y);
-
-#endif //PPANN_SYM_FIELD_H
\ No newline at end of file
+int zp_cmp_int(ZP_SYM x, int y);
\ No newline at end of file
diff --git a/include/sym_group.h b/include/sym_group.h
index 14bfe7c5176aa92c255560de0808a70c9061cfa4..95a3ca7cee28050cc5083d9aaea66bf7cfd1baaa 100644
--- a/include/sym_group.h
+++ b/include/sym_group.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_SYM_GROUP_H
-#define PPANN_SYM_GROUP_H
+#pragma once
 
 #include "sym_field.h"
 
@@ -13,5 +12,3 @@ void g_mul(g_sym r, g_sym x, ZP_SYM y);
 void gt_raise(gt_sym r, gt_sym x, ZP_SYM y);
 
 void bp_map(g_sym a, g_sym b, gt_sym r);
-
-#endif //PPANN_SYM_GROUP_H
\ No newline at end of file
diff --git a/include/sym_matrix.h b/include/sym_matrix.h
index fb31d616002ab9e4a5fee12ca27e30109f22fc25..5e330ae28feee90a77225367f595bb316eb31519 100644
--- a/include/sym_matrix.h
+++ b/include/sym_matrix.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_SYM_MATRIX_H
-#define PPANN_SYM_MATRIX_H
+#pragma once
 
 #include "sym_field.h"
 
@@ -19,6 +18,4 @@ zp_mat matrix_merge(zp_mat x, zp_mat y, int row, int col_x, int col_y);
 
 zp_mat matrix_multiply(zp_mat x, zp_mat y, int row_x, int row_y, int col_y, bn_t modular);
 
-zp_mat matrix_inverse(zp_mat x, int size, bn_t modular);
-
-#endif //PPANN_SYM_MATRIX_H
\ No newline at end of file
+zp_mat matrix_inverse(zp_mat x, int size, bn_t modular);
\ No newline at end of file
diff --git a/include/sym_vector.h b/include/sym_vector.h
index 4f016e32a97a52db7458663f2d0aea46a2344bbc..8bd92e8952e21b255a628d1b3c5dea858960f2be 100644
--- a/include/sym_vector.h
+++ b/include/sym_vector.h
@@ -1,5 +1,4 @@
-#ifndef PPANN_SYM_VECTOR_H
-#define PPANN_SYM_VECTOR_H
+#pragma once
 
 #include "sym_field.h"
 #include "sym_group.h"
@@ -17,6 +16,4 @@ zp_vec vector_add(zp_vec a, zp_vec b, int size);
 
 g_vec vector_raise(g_sym base, zp_vec x, int size);
 
-void inner_product(gt_sym r, g_vec a, g_vec b, int size);
-
-#endif //PPANN_SYM_VECTOR_H
\ No newline at end of file
+void inner_product(gt_sym r, g_vec a, g_vec b, int size);
\ No newline at end of file