aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:44:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:44:49 +0300
commit718c552901d703c502ccbefdfc3c9028d608b947 (patch)
tree46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/apache
parente9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff)
downloadydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/apache')
-rw-r--r--contrib/libs/apache/avro/api/NodeConcepts.hh14
-rw-r--r--contrib/libs/apache/avro/api/Validator.hh14
-rw-r--r--contrib/libs/apache/avro/api/buffer/BufferReader.hh2
-rw-r--r--contrib/libs/apache/avro/api/buffer/detail/BufferDetail.hh2
-rw-r--r--contrib/libs/apache/avro/patches/no-unused-parameter.patch244
-rw-r--r--contrib/libs/apache/avro/ya.make6
6 files changed, 141 insertions, 141 deletions
diff --git a/contrib/libs/apache/avro/api/NodeConcepts.hh b/contrib/libs/apache/avro/api/NodeConcepts.hh
index e914d925b6..fc4faebe3e 100644
--- a/contrib/libs/apache/avro/api/NodeConcepts.hh
+++ b/contrib/libs/apache/avro/api/NodeConcepts.hh
@@ -56,14 +56,14 @@ struct NoAttribute
return 0;
}
- void add( const Attribute &) {
+ void add( const Attribute &) {
// There must be an add function for the generic NodeImpl, but the
// Node APIs ensure that it is never called, the throw here is
// just in case
throw Exception("This type does not have attribute");
}
- const Attribute &get(size_t = 0) const {
+ const Attribute &get(size_t = 0) const {
// There must be an get function for the generic NodeImpl, but the
// Node APIs ensure that it is never called, the throw here is
// just in case
@@ -73,7 +73,7 @@ struct NoAttribute
return empty;
}
- Attribute &get(size_t = 0) {
+ Attribute &get(size_t = 0) {
// There must be an get function for the generic NodeImpl, but the
// Node APIs ensure that it is never called, the throw here is
// just in case
@@ -97,7 +97,7 @@ struct SingleAttribute
{ }
// copy constructing from a no attribute is allowed
- SingleAttribute(const NoAttribute<Attribute> &) :
+ SingleAttribute(const NoAttribute<Attribute> &) :
attr_()
{ }
@@ -150,7 +150,7 @@ struct MultiAttribute
attrs_(rhs.attrs_)
{ }
- MultiAttribute(const NoAttribute<Attribute> &)
+ MultiAttribute(const NoAttribute<Attribute> &)
{}
size_t size() const {
@@ -178,12 +178,12 @@ struct MultiAttribute
template<typename T>
struct NameIndexConcept {
- bool lookup(const std::string &, size_t &) const {
+ bool lookup(const std::string &, size_t &) const {
throw Exception("Name index does not exist");
return 0;
}
- bool add(const::std::string &, size_t) {
+ bool add(const::std::string &, size_t) {
throw Exception("Name index does not exist");
return false;
}
diff --git a/contrib/libs/apache/avro/api/Validator.hh b/contrib/libs/apache/avro/api/Validator.hh
index 3f542d611a..c04b9fe3ec 100644
--- a/contrib/libs/apache/avro/api/Validator.hh
+++ b/contrib/libs/apache/avro/api/Validator.hh
@@ -33,12 +33,12 @@ class AVRO_DECL NullValidator : private boost::noncopyable
{
public:
- explicit NullValidator(const ValidSchema &) {}
+ explicit NullValidator(const ValidSchema &) {}
NullValidator() {}
- void setCount(int64_t) {}
+ void setCount(int64_t) {}
- bool typeIsExpected(Type) const {
+ bool typeIsExpected(Type) const {
return true;
}
@@ -50,16 +50,16 @@ class AVRO_DECL NullValidator : private boost::noncopyable
return 0;
}
- bool getCurrentRecordName(std::string &) const {
+ bool getCurrentRecordName(std::string &) const {
return true;
}
- bool getNextFieldName(std::string &) const {
+ bool getNextFieldName(std::string &) const {
return true;
}
- void checkTypeExpected(Type) { }
- void checkFixedSizeExpected(int) { }
+ void checkTypeExpected(Type) { }
+ void checkFixedSizeExpected(int) { }
};
diff --git a/contrib/libs/apache/avro/api/buffer/BufferReader.hh b/contrib/libs/apache/avro/api/buffer/BufferReader.hh
index 83b6b4b324..68163911ed 100644
--- a/contrib/libs/apache/avro/api/buffer/BufferReader.hh
+++ b/contrib/libs/apache/avro/api/buffer/BufferReader.hh
@@ -254,7 +254,7 @@ class AVRO_DECL BufferReader : private boost::noncopyable
/// An uninstantiable function, that is if boost::is_fundamental check fails
template<typename T>
- bool read(T &, const std::false_type&)
+ bool read(T &, const std::false_type&)
{
static_assert(sizeof(T) == 0, "Not a valid type to read");
return false;
diff --git a/contrib/libs/apache/avro/api/buffer/detail/BufferDetail.hh b/contrib/libs/apache/avro/api/buffer/detail/BufferDetail.hh
index 29a2e00b4e..27cb5e6cd1 100644
--- a/contrib/libs/apache/avro/api/buffer/detail/BufferDetail.hh
+++ b/contrib/libs/apache/avro/api/buffer/detail/BufferDetail.hh
@@ -364,7 +364,7 @@ class BufferImpl : boost::noncopyable
/// An uninstantiable function, this is if boost::is_fundamental check fails,
/// and will compile-time assert.
template<typename T>
- void writeTo(T, const std::false_type&)
+ void writeTo(T, const std::false_type&)
{
BOOST_STATIC_ASSERT(sizeof(T)==0);
}
diff --git a/contrib/libs/apache/avro/patches/no-unused-parameter.patch b/contrib/libs/apache/avro/patches/no-unused-parameter.patch
index cef0e18008..fbe6aabd77 100644
--- a/contrib/libs/apache/avro/patches/no-unused-parameter.patch
+++ b/contrib/libs/apache/avro/patches/no-unused-parameter.patch
@@ -1,122 +1,122 @@
---- a/api/NodeConcepts.hh
-+++ b/api/NodeConcepts.hh
-@@ -56,14 +56,14 @@ struct NoAttribute
- return 0;
- }
-
-- void add( const Attribute &attr) {
-+ void add( const Attribute &) {
- // There must be an add function for the generic NodeImpl, but the
- // Node APIs ensure that it is never called, the throw here is
- // just in case
- throw Exception("This type does not have attribute");
- }
-
-- const Attribute &get(size_t index = 0) const {
-+ const Attribute &get(size_t = 0) const {
- // There must be an get function for the generic NodeImpl, but the
- // Node APIs ensure that it is never called, the throw here is
- // just in case
-@@ -73,7 +73,7 @@ struct NoAttribute
- return empty;
- }
-
-- Attribute &get(size_t index = 0) {
-+ Attribute &get(size_t = 0) {
- // There must be an get function for the generic NodeImpl, but the
- // Node APIs ensure that it is never called, the throw here is
- // just in case
-@@ -97,7 +97,7 @@ struct SingleAttribute
- { }
-
- // copy constructing from a no attribute is allowed
-- SingleAttribute(const NoAttribute<Attribute> &rhs) :
-+ SingleAttribute(const NoAttribute<Attribute> &) :
- attr_()
- { }
-
-@@ -150,7 +150,7 @@ struct MultiAttribute
- attrs_(rhs.attrs_)
- { }
-
-- MultiAttribute(const NoAttribute<Attribute> &rhs)
-+ MultiAttribute(const NoAttribute<Attribute> &)
- {}
-
- size_t size() const {
-@@ -178,12 +178,12 @@ struct MultiAttribute
- template<typename T>
- struct NameIndexConcept {
-
-- bool lookup(const std::string &name, size_t &index) const {
-+ bool lookup(const std::string &, size_t &) const {
- throw Exception("Name index does not exist");
- return 0;
- }
-
-- bool add(const::std::string &name, size_t index) {
-+ bool add(const::std::string &, size_t) {
- throw Exception("Name index does not exist");
- return false;
- }
---- a/api/Validator.hh
-+++ b/api/Validator.hh
-@@ -33,12 +33,12 @@ class AVRO_DECL NullValidator : private boost::noncopyable
- {
- public:
-
-- explicit NullValidator(const ValidSchema &schema) {}
-+ explicit NullValidator(const ValidSchema &) {}
- NullValidator() {}
-
-- void setCount(int64_t val) {}
-+ void setCount(int64_t) {}
-
-- bool typeIsExpected(Type type) const {
-+ bool typeIsExpected(Type) const {
- return true;
- }
-
-@@ -50,16 +50,16 @@ class AVRO_DECL NullValidator : private boost::noncopyable
- return 0;
- }
-
-- bool getCurrentRecordName(std::string &name) const {
-+ bool getCurrentRecordName(std::string &) const {
- return true;
- }
-
-- bool getNextFieldName(std::string &name) const {
-+ bool getNextFieldName(std::string &) const {
- return true;
- }
-
-- void checkTypeExpected(Type type) { }
-- void checkFixedSizeExpected(int size) { }
-+ void checkTypeExpected(Type) { }
-+ void checkFixedSizeExpected(int) { }
-
-
- };
---- a/api/buffer/BufferReader.hh
-+++ b/api/buffer/BufferReader.hh
-@@ -254,7 +254,7 @@ class AVRO_DECL BufferReader : private boost::noncopyable
-
- /// An uninstantiable function, that is if boost::is_fundamental check fails
- template<typename T>
-- bool read(T &val, const std::false_type&)
-+ bool read(T &, const std::false_type&)
- {
- static_assert(sizeof(T) == 0, "Not a valid type to read");
- return false;
---- a/api/buffer/detail/BufferDetail.hh
-+++ b/api/buffer/detail/BufferDetail.hh
-@@ -364,7 +364,7 @@ class BufferImpl : boost::noncopyable
- /// An uninstantiable function, this is if boost::is_fundamental check fails,
- /// and will compile-time assert.
- template<typename T>
-- void writeTo(T val, const std::false_type&)
-+ void writeTo(T, const std::false_type&)
- {
- BOOST_STATIC_ASSERT(sizeof(T)==0);
- }
+--- a/api/NodeConcepts.hh
++++ b/api/NodeConcepts.hh
+@@ -56,14 +56,14 @@ struct NoAttribute
+ return 0;
+ }
+
+- void add( const Attribute &attr) {
++ void add( const Attribute &) {
+ // There must be an add function for the generic NodeImpl, but the
+ // Node APIs ensure that it is never called, the throw here is
+ // just in case
+ throw Exception("This type does not have attribute");
+ }
+
+- const Attribute &get(size_t index = 0) const {
++ const Attribute &get(size_t = 0) const {
+ // There must be an get function for the generic NodeImpl, but the
+ // Node APIs ensure that it is never called, the throw here is
+ // just in case
+@@ -73,7 +73,7 @@ struct NoAttribute
+ return empty;
+ }
+
+- Attribute &get(size_t index = 0) {
++ Attribute &get(size_t = 0) {
+ // There must be an get function for the generic NodeImpl, but the
+ // Node APIs ensure that it is never called, the throw here is
+ // just in case
+@@ -97,7 +97,7 @@ struct SingleAttribute
+ { }
+
+ // copy constructing from a no attribute is allowed
+- SingleAttribute(const NoAttribute<Attribute> &rhs) :
++ SingleAttribute(const NoAttribute<Attribute> &) :
+ attr_()
+ { }
+
+@@ -150,7 +150,7 @@ struct MultiAttribute
+ attrs_(rhs.attrs_)
+ { }
+
+- MultiAttribute(const NoAttribute<Attribute> &rhs)
++ MultiAttribute(const NoAttribute<Attribute> &)
+ {}
+
+ size_t size() const {
+@@ -178,12 +178,12 @@ struct MultiAttribute
+ template<typename T>
+ struct NameIndexConcept {
+
+- bool lookup(const std::string &name, size_t &index) const {
++ bool lookup(const std::string &, size_t &) const {
+ throw Exception("Name index does not exist");
+ return 0;
+ }
+
+- bool add(const::std::string &name, size_t index) {
++ bool add(const::std::string &, size_t) {
+ throw Exception("Name index does not exist");
+ return false;
+ }
+--- a/api/Validator.hh
++++ b/api/Validator.hh
+@@ -33,12 +33,12 @@ class AVRO_DECL NullValidator : private boost::noncopyable
+ {
+ public:
+
+- explicit NullValidator(const ValidSchema &schema) {}
++ explicit NullValidator(const ValidSchema &) {}
+ NullValidator() {}
+
+- void setCount(int64_t val) {}
++ void setCount(int64_t) {}
+
+- bool typeIsExpected(Type type) const {
++ bool typeIsExpected(Type) const {
+ return true;
+ }
+
+@@ -50,16 +50,16 @@ class AVRO_DECL NullValidator : private boost::noncopyable
+ return 0;
+ }
+
+- bool getCurrentRecordName(std::string &name) const {
++ bool getCurrentRecordName(std::string &) const {
+ return true;
+ }
+
+- bool getNextFieldName(std::string &name) const {
++ bool getNextFieldName(std::string &) const {
+ return true;
+ }
+
+- void checkTypeExpected(Type type) { }
+- void checkFixedSizeExpected(int size) { }
++ void checkTypeExpected(Type) { }
++ void checkFixedSizeExpected(int) { }
+
+
+ };
+--- a/api/buffer/BufferReader.hh
++++ b/api/buffer/BufferReader.hh
+@@ -254,7 +254,7 @@ class AVRO_DECL BufferReader : private boost::noncopyable
+
+ /// An uninstantiable function, that is if boost::is_fundamental check fails
+ template<typename T>
+- bool read(T &val, const std::false_type&)
++ bool read(T &, const std::false_type&)
+ {
+ static_assert(sizeof(T) == 0, "Not a valid type to read");
+ return false;
+--- a/api/buffer/detail/BufferDetail.hh
++++ b/api/buffer/detail/BufferDetail.hh
+@@ -364,7 +364,7 @@ class BufferImpl : boost::noncopyable
+ /// An uninstantiable function, this is if boost::is_fundamental check fails,
+ /// and will compile-time assert.
+ template<typename T>
+- void writeTo(T val, const std::false_type&)
++ void writeTo(T, const std::false_type&)
+ {
+ BOOST_STATIC_ASSERT(sizeof(T)==0);
+ }
diff --git a/contrib/libs/apache/avro/ya.make b/contrib/libs/apache/avro/ya.make
index 80197fdc47..0c67ca7667 100644
--- a/contrib/libs/apache/avro/ya.make
+++ b/contrib/libs/apache/avro/ya.make
@@ -9,8 +9,8 @@ OWNER(
VERSION(1.10.2)
-ORIGINAL_SOURCE(https://github.com/apache/avro/archive/release-1.10.2.tar.gz)
-
+ORIGINAL_SOURCE(https://github.com/apache/avro/archive/release-1.10.2.tar.gz)
+
LICENSE(
Apache-2.0 AND
BSL-1.0 AND
@@ -22,7 +22,7 @@ LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
PEERDIR(
contrib/libs/snappy
contrib/restricted/boost
- contrib/restricted/boost/libs/iostreams
+ contrib/restricted/boost/libs/iostreams
)
ADDINCL(