diff --git a/src/core/peptidextp.h b/src/core/peptidextp.h
index 3d92e6e1fa074c7e08b25211df9309425545b072..1729d57c472a4acb27ee4dd0d014bf13e82013ce 100644
--- a/src/core/peptidextp.h
+++ b/src/core/peptidextp.h
@@ -22,8 +22,7 @@
  *implementation
  ******************************************************************************/
 
-#ifndef PEPTIDEXTP_H
-#define PEPTIDEXTP_H
+#pragma once
 
 #include <pappsomspp/peptide/peptide.h>
 #include "labeling/labelingmethod.h"
@@ -79,5 +78,3 @@ class PeptideXtp : public pappso::Peptide
 
   const Label *_p_label = nullptr;
 };
-
-#endif // PEPTIDEXTP_H