Skip to content

Instantly share code, notes, and snippets.

@mpenick
Created November 13, 2014 21:34
Show Gist options
  • Save mpenick/cc0a8a9c0bab7dfe48b1 to your computer and use it in GitHub Desktop.
Save mpenick/cc0a8a9c0bab7dfe48b1 to your computer and use it in GitHub Desktop.
/home/mpenick/cpp-driver/test/integration_tests/src/test_future_callbacks.cpp: In function ‘void {anonymous}::check_result_callback(CassFuture*, void*)’:
/home/mpenick/cpp-driver/test/integration_tests/src/test_future_callbacks.cpp:73:31: error: conversion from ‘test_utils::CassResultPtr {aka test_utils::CassSharedPtr<const CassResult_>}’ to ‘bool’ is ambiguous
/home/mpenick/cpp-driver/test/integration_tests/src/test_future_callbacks.cpp:71:29: note: candidates are:
/home/mpenick/cpp-driver/test/integration_tests/src/test_utils.hpp:170:3: note: test_utils::CassSharedPtr<T>::operator T*() const [with T = const CassResult_]
/usr/include/boost/smart_ptr/detail/operator_bool.hpp:52:5: note: boost::shared_ptr<T>::operator boost::shared_ptr<T>::unspecified_bool_type() const [with T = const CassResult_, boost::shared_ptr<T>::unspecified_bool_type = const CassResult_* boost::shared_ptr<const CassResult_>::*, boost::shared_ptr<T>::element_type = const CassResult_]
/home/mpenick/cpp-driver/test/integration_tests/src/test_future_callbacks.cpp: At global scope:
/home/mpenick/cpp-driver/test/integration_tests/src/test_future_callbacks.cpp:213:115: note: #pragma message: Session Guard Test Will Not Run: Define TESTING_DIRECTIVE by enabling CASS_USE_TESTING_DIRECTIVE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment