Bunch of raw pointers replaced with smart pointers of references.
This commit is contained in:
parent
5a199c9138
commit
ea035f58c8
20 changed files with 67 additions and 79 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#ifndef PGTYPECONTAINER_H
|
||||
#ifndef PGTYPECONTAINER_H
|
||||
#define PGTYPECONTAINER_H
|
||||
|
||||
#include <vector>
|
||||
#include "PgType.h"
|
||||
#include "PgContainer.h"
|
||||
#include <vector>
|
||||
|
||||
namespace Pgsql {
|
||||
|
||||
|
|
@ -13,15 +13,8 @@ namespace Pgsql {
|
|||
|
||||
class PgTypeContainer: public PgContainer<PgType> {
|
||||
public:
|
||||
// using t_Types = std::vector<PgType>; ///< Do not assume it will stay a vector only expect bidirectional access
|
||||
using PgContainer<PgType>::PgContainer;
|
||||
|
||||
explicit PgTypeContainer(PgDatabaseCatalogue *cat);
|
||||
|
||||
// t_Types::const_iterator begin() const { return m_types.begin(); }
|
||||
// t_Types::const_iterator end() const { return m_types.end(); }
|
||||
|
||||
// void clear();
|
||||
// int count() const { return (int)m_types.size(); }
|
||||
std::string getLoadQuery();
|
||||
void load(const Pgsql::Result &res);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue