diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 17:14:01 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-26 17:14:01 +0000 |
commit | d46d2081bb725bb74f393c1f44c051eb739e6bb4 (patch) | |
tree | f2ee2622596a1ba5721d635e286f49e3dc48a181 | |
parent | 2f5704cd556630d9292d4238f052d6d7dc60ef4a (diff) | |
download | chromium_src-d46d2081bb725bb74f393c1f44c051eb739e6bb4.zip chromium_src-d46d2081bb725bb74f393c1f44c051eb739e6bb4.tar.gz chromium_src-d46d2081bb725bb74f393c1f44c051eb739e6bb4.tar.bz2 |
Fix warning which breaks compile with gcc 4.3.x
since warnings are treated as errors.
Patch contributed by Craig Schlenter <craig.schlenter@gmail.com>
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8635 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/views/table_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/table_view.h b/chrome/views/table_view.h index abe0f45..cb223c6 100644 --- a/chrome/views/table_view.h +++ b/chrome/views/table_view.h @@ -60,7 +60,7 @@ struct TableColumn; // - only text // - a small icon (16x16) and some text // - a check box and some text -typedef enum TableTypes { +enum TableTypes { TEXT_ONLY = 0, ICON_AND_TEXT, CHECK_BOX_AND_TEXT @@ -164,7 +164,7 @@ class TableModel { // TableColumn specifies the title, alignment and size of a particular column. struct TableColumn { - typedef enum Alignment { + enum Alignment { LEFT, RIGHT, CENTER }; |