summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2013-05-07 13:08:44 +0000
committerphilip.liard@gmail.com <philip.liard@gmail.com@ee073f10-1060-11df-b6a4-87a95322a99c>2013-05-07 13:08:44 +0000
commit854813f7162b7cb7259aff54b0f2535c817f06f4 (patch)
treebef334334bc70d6c6ce13ada2cf61df587ce9afd
parentde41ee57fc42757aaa958909a2cb1ff6af5d9356 (diff)
downloadphonenumbers-854813f7162b7cb7259aff54b0f2535c817f06f4.tar.gz
CPP: Fix compilation error on Clang.
This fixes a compilation error on Clang due to conflicting declarations (struct vs class) in multiple header files. BUG=http://crbug.com/236272 R=jia.shao.peng@gmail.com Review URL: https://codereview.appspot.com/9259043 git-svn-id: http://libphonenumber.googlecode.com/svn/trunk/cpp/src/phonenumbers@573 ee073f10-1060-11df-b6a4-87a95322a99c
-rw-r--r--callback.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/callback.h b/callback.h
index ca088ac..487fd40 100644
--- a/callback.h
+++ b/callback.h
@@ -26,7 +26,8 @@ namespace i18n {
namespace phonenumbers {
template <typename R, typename A1, typename A2, typename A3, typename A4>
-struct ResultCallback4 {
+class ResultCallback4 {
+ public:
virtual ~ResultCallback4() {}
virtual R Run(A1 a1, A2 a2, A3 a3, A4 a4) = 0;
};