summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/include/fe_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/include/fe_private.h')
-rw-r--r--TAO/TAO_IDL/include/fe_private.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/TAO/TAO_IDL/include/fe_private.h b/TAO/TAO_IDL/include/fe_private.h
index 979289c1924..8465fa4ff37 100644
--- a/TAO/TAO_IDL/include/fe_private.h
+++ b/TAO/TAO_IDL/include/fe_private.h
@@ -90,18 +90,19 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
// define an entry for the C++ keyword and its mapping
struct TAO_IDL_CPP_Keyword_Entry
{
- char *keyword_;
- char *mapping_;
+ const char *keyword_;
+ const char *mapping_;
};
-// define a table that provides the lookup for the C++ keyword. The lookup uses
-// a perfect hash function
class TAO_IDL_CPP_Keyword_Table
{
+ // = TITLE
+ // Define a table that provides the lookup for the C++
+ // keyword. The lookup uses a perfect hash function
private:
unsigned int hash (const char *str, unsigned int len);
public:
const TAO_IDL_CPP_Keyword_Entry *lookup (const char *str, unsigned int len);
};
-#endif // _FE_FE_HH
+#endif /* _FE_FE_HH */