Programming answers in double ended queue. Fix word "Coding" by "Encoding"
[anna.git] / include / anna / diameter / codec / EngineImpl.hpp
index 4f27e06..b79aeb1 100644 (file)
@@ -183,7 +183,7 @@ public:
    * Defines behaviour mode regarding when to validate a message: before encoding, after decoding (by default), always or never
    * Anyway validation procedure may be called at any moment (#valid)
    */
-  struct ValidationMode { enum _v { BeforeCoding, AfterDecoding /* default */, Always, Never /* optimization */ }; };
+  struct ValidationMode { enum _v { BeforeEncoding, AfterDecoding /* default */, Always, Never /* optimization */ }; };
 
   /**
    * Defines behaviour mode regarding when to fix a message: before encoding (by default), after decoding, always or never.
@@ -194,7 +194,7 @@ public:
    *  hide any validation problem regarding Avps position at any level.
    * Anyway fix procedure may be called at any moment (#fix)
    */
-  struct FixMode { enum _v { BeforeCoding /* default */, AfterDecoding, Always, Never /* optimization */ }; };
+  struct FixMode { enum _v { BeforeEncoding /* default */, AfterDecoding, Always, Never /* optimization */ }; };
 
 
   // Creators