| 1 | /* |
| 2 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | * you may not use this file except in compliance with the License. |
| 4 | * You may obtain a copy of the License at |
| 5 | * |
| 6 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | * |
| 8 | * Unless required by applicable law or agreed to in writing, software |
| 9 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | * See the License for the specific language governing permissions and |
| 12 | * limitations under the License. |
| 13 | */ |
| 14 | |
| 15 | #ifndef ZERO_COPY_STREAM_WRAPPER_HH |
| 16 | #define ZERO_COPY_STREAM_WRAPPER_HH |
| 17 | |
| 18 | #include "Adaptor.hh" |
| 19 | |
| 20 | DIAGNOSTIC_PUSH |
| 21 | |
| 22 | #if defined(__GNUC__) || defined(__clang__) |
| 23 | DIAGNOSTIC_IGNORE("-Wdeprecated" ) |
| 24 | DIAGNOSTIC_IGNORE("-Wpadded" ) |
| 25 | DIAGNOSTIC_IGNORE("-Wunused-parameter" ) |
| 26 | #endif |
| 27 | |
| 28 | #ifdef __clang__ |
| 29 | DIAGNOSTIC_IGNORE("-Wreserved-id-macro" ) |
| 30 | #endif |
| 31 | |
| 32 | #include <google/protobuf/io/zero_copy_stream.h> |
| 33 | |
| 34 | DIAGNOSTIC_POP |
| 35 | |
| 36 | #endif |
| 37 | |